python: Fix example.

* lang/python/examples/inter-edit.py: Fix example.

Fixes-commit: a458e7fe
Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-10-13 12:45:50 +02:00
parent 56302e7bb6
commit cabd4c74e5
No known key found for this signature in database
GPG Key ID: DD1A52F9DA8C9020

View File

@ -40,8 +40,8 @@ with pyme.Context() as c:
print("Editing key {} ({}):".format(key.uids[0].uid, key.subkeys[0].fpr))
def edit_fnc(keyword, args):
print("Status: {} ({}), args: {} > ".format(
keyword, status, args), end='', flush=True)
print("Status: {}, args: {} > ".format(
keyword, args), end='', flush=True)
if not 'GET' in keyword:
# no prompt