[bug] fix verify keys usage
authorRuben Pollan <meskio@sindominio.net>
Mon, 28 Sep 2015 17:06:20 +0000 (19:06 +0200)
committerRuben Pollan <meskio@sindominio.net>
Mon, 28 Sep 2015 17:06:20 +0000 (19:06 +0200)
The latests refactor missed one line.

src/leap/keymanager/__init__.py

index 4826ba7..c7886e0 100644 (file)
@@ -711,7 +711,7 @@ class KeyManager(object):
             if signed:
                 if not pubkey.sign_used:
                     pubkey.sign_used = True
-                    d = keys.put_key(pubkey, address)
+                    d = _keys.put_key(pubkey, address)
                     d.addCallback(lambda _: pubkey)
                     return d
                 return pubkey