[Pkg-gnupg-commit] [gpgme] 39/53: python: Fix example.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Oct 24 19:26:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gpgme.

commit cabd4c74e52c8983d624b6877cddc7f8912eff04
Author: Justus Winter <justus at g10code.com>
Date:   Thu Oct 13 12:45:50 2016 +0200

    python: Fix example.
    
    * lang/python/examples/inter-edit.py: Fix example.
    
    Fixes-commit: a458e7fe
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 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 39d6f17..3c0f29b 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list