summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2017-01-24 18:37:03 -0200
committerRuben Pollan <meskio@sindominio.net>2017-12-03 20:43:35 +0100
commit0db384bbe7697d320dfc00f1976de1ca16636d27 (patch)
tree6b5b9998fdca1cd3d433d74d8b358b7740b41ba0 /src/leap/bitmask
parent385ba008258f074b8b0cf528d833beaf0543c2e1 (diff)
[bug] fix log of the key being fetched
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/keymanager/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/keymanager/__init__.py b/src/leap/bitmask/keymanager/__init__.py
index b2cf1c99..09ac9bc7 100644
--- a/src/leap/bitmask/keymanager/__init__.py
+++ b/src/leap/bitmask/keymanager/__init__.py
@@ -260,7 +260,7 @@ class KeyManager(object):
def ensure_valid(key):
if key.is_expired():
- logger.info('Found expired key for %s.' % self._address)
+ self.log.info('Found expired key for %s.' % address)
return _fetch_remotely(key)
key_found(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)
d.addCallback(