Verified Commit 0db384bb authored by Tulio Casagrande's avatar Tulio Casagrande Committed by meskio

[bug] fix log of the key being fetched

parent 385ba008
......@@ -260,7 +260,7 @@ class KeyManager(object):
def ensure_valid(key):
if key.is_expired():'Found expired key for %s.' % self._address)'Found expired key for %s.' % address)
return _fetch_remotely(key)
return key
......@@ -278,7 +278,7 @@ class KeyManager(object):
if fetch_remote is False or private is True:
return passthru
logger.debug('Fetching remotely key for %s.' % self._address)
self.log.debug('Fetching remotely key for %s.' % address)
emit_async(catalog.KEYMANAGER_LOOKING_FOR_KEY, address)
d = self._fetch_keys_from_server_and_store_local(address)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment