From 9932121dd3da2611f14a59b27c40042dadff80a3 Mon Sep 17 00:00:00 2001 From: Zara Gebru Date: Mon, 13 Jun 2016 13:15:25 +0200 Subject: rename some vars --- src/leap/bitmask/keymanager/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/leap/bitmask/keymanager/__init__.py b/src/leap/bitmask/keymanager/__init__.py index f0f82676..fb4668c7 100644 --- a/src/leap/bitmask/keymanager/__init__.py +++ b/src/leap/bitmask/keymanager/__init__.py @@ -673,7 +673,7 @@ class KeyManager(object): """ Put raw key bound to address in local storage. - :param key: The ascii key to be stored + :param key: The key to be stored :type key: str :param address: address for which this key will be active :type address: str @@ -727,10 +727,10 @@ class KeyManager(object): """ logger.info("fetch key for %s from %s" % (address, uri)) - ascii_content = yield self._get_with_combined_ca_bundle(uri) + key_content = yield self._get_with_combined_ca_bundle(uri) # XXX parse binary keys - pubkey, _ = self._openpgp.parse_key(ascii_content, address) + pubkey, _ = self._openpgp.parse_key(key_content, address) if pubkey is None: raise keymanager_errors.KeyNotFound(uri) -- cgit v1.2.3