summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/keymanager
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-04-26 19:32:35 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-04-27 19:33:31 +0200
commit43931f3c8a5d4bbaf7f7986b3981d698d987d7a8 (patch)
treefe2fd24ff348240fefc012138f9af9c515c7d7c6 /src/leap/bitmask/keymanager
parent13760d78fba87570c91c0a2e702980d2ec45a0ed (diff)
[style] pep8 fixes
Diffstat (limited to 'src/leap/bitmask/keymanager')
-rw-r--r--src/leap/bitmask/keymanager/refresher.py5
-rw-r--r--src/leap/bitmask/keymanager/wrapper.py2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/leap/bitmask/keymanager/refresher.py b/src/leap/bitmask/keymanager/refresher.py
index d1ae9f8..d89a750 100644
--- a/src/leap/bitmask/keymanager/refresher.py
+++ b/src/leap/bitmask/keymanager/refresher.py
@@ -110,8 +110,9 @@ class RandomRefreshPublicKey(object):
fetch_key_with_fingerprint(old_key.fingerprint)
if old_updated_key.fingerprint != old_key.fingerprint:
- self.log.error(ERROR_UNEQUAL_FINGERPRINTS %
- (old_key.fingerprint, old_updated_key.fingerprint))
+ self.log.error(
+ ERROR_UNEQUAL_FINGERPRINTS % (
+ old_key.fingerprint, old_updated_key.fingerprint))
defer.returnValue(None)
yield self._maybe_unactivate_key(old_updated_key)
diff --git a/src/leap/bitmask/keymanager/wrapper.py b/src/leap/bitmask/keymanager/wrapper.py
index eb5074f..2b21379 100644
--- a/src/leap/bitmask/keymanager/wrapper.py
+++ b/src/leap/bitmask/keymanager/wrapper.py
@@ -35,8 +35,6 @@ except ImportError:
GNUPG_NG = False
-
-
class TempGPGWrapper(object):
"""
A context manager that wraps a temporary GPG keyring which only contains