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))
|
print("Editing key {} ({}):".format(key.uids[0].uid, key.subkeys[0].fpr))
|
||||||
|
|
||||||
def edit_fnc(keyword, args):
|
def edit_fnc(keyword, args):
|
||||||
print("Status: {} ({}), args: {} > ".format(
|
print("Status: {}, args: {} > ".format(
|
||||||
keyword, status, args), end='', flush=True)
|
keyword, args), end='', flush=True)
|
||||||
|
|
||||||
if not 'GET' in keyword:
|
if not 'GET' in keyword:
|
||||||
# no prompt
|
# no prompt
|
||||||
|
Loading…
Reference in New Issue
Block a user