From cabd4c74e52c8983d624b6877cddc7f8912eff04 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 13 Oct 2016 12:45:50 +0200 Subject: [PATCH] python: Fix example. * lang/python/examples/inter-edit.py: Fix example. Fixes-commit: a458e7fe Signed-off-by: Justus Winter --- lang/python/examples/inter-edit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/examples/inter-edit.py b/lang/python/examples/inter-edit.py index 39d6f176..3c0f29ba 100644 --- a/lang/python/examples/inter-edit.py +++ b/lang/python/examples/inter-edit.py @@ -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