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:
parent
56302e7bb6
commit
cabd4c74e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user