Fix bug in example/make-8192-bit-key.py resulting from parser changes.

fix/101-pypy-gen-key
Isis Lovecruft 2015-03-18 03:50:16 +00:00
parent 10df44b75f
commit d66d86ca7e
No known key found for this signature in database
GPG Key ID: 18C16EC5F9F1D673
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ def displayNewKey(key):
# `result` is a `gnupg._parsers.ListKeys`, which is list-like, so iterate
# over all the keys and display their info:
for gpgkey in keylist:
for k, v in gpgkey:
for k, v in gpgkey.items():
log.info("%s: %s" % (k.capitalize(), v))
return keylist