summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/keymanager
diff options
context:
space:
mode:
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 d1ae9f84..d89a7508 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 eb5074f3..2b21379a 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