diff options
Diffstat (limited to 'src/leap/bitmask/keymanager')
-rw-r--r-- | src/leap/bitmask/keymanager/__init__.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/leap/bitmask/keymanager/__init__.py b/src/leap/bitmask/keymanager/__init__.py index 2014524f..b2cf1c99 100644 --- a/src/leap/bitmask/keymanager/__init__.py +++ b/src/leap/bitmask/keymanager/__init__.py @@ -370,17 +370,10 @@ class KeyManager(object): :rtype: Deferred """ - def signal_finished(key): - emit_async( - catalog.KEYMANAGER_FINISHED_KEY_GENERATION, self._address) - return key self.log.info('Regenerating key for %s.' % self._address) - emit_async(catalog.KEYMANAGER_STARTED_KEY_GENERATION, self._address) new_key = yield self._openpgp.regenerate_key(self._address) yield self._openpgp.reset_all_keys_sign_used() - emit_async( - catalog.KEYMANAGER_FINISHED_KEY_GENERATION, self._address) defer.returnValue(new_key) |