diff options
author | Justus Winter <[email protected]> | 2016-10-13 10:45:50 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-10-13 11:19:46 +0000 |
commit | cabd4c74e52c8983d624b6877cddc7f8912eff04 (patch) | |
tree | e1edcbbf5d2ecab167ab80fd59caeb024fb853f6 | |
parent | cpp: Fix version number (diff) | |
download | gpgme-cabd4c74e52c8983d624b6877cddc7f8912eff04.tar.gz gpgme-cabd4c74e52c8983d624b6877cddc7f8912eff04.zip |
python: Fix example.
* lang/python/examples/inter-edit.py: Fix example.
Fixes-commit: a458e7fe
Signed-off-by: Justus Winter <[email protected]>
-rw-r--r-- | lang/python/examples/inter-edit.py | 4 |
1 files 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 |