aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/delkey.py
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-05-17 12:15:21 +0000
committerJustus Winter <[email protected]>2016-05-17 12:22:22 +0000
commit10328324c8fc9725cd0c885eaebfc80dc32c1ff6 (patch)
tree425531ecd2daf5eb85caf1229b62a0834ec6132b /lang/python/examples/delkey.py
parentpython: Import GPGMEError. (diff)
downloadgpgme-10328324c8fc9725cd0c885eaebfc80dc32c1ff6.tar.gz
gpgme-10328324c8fc9725cd0c885eaebfc80dc32c1ff6.zip
python: Clean up examples.
* lang/python/examples/delkey.py: Clean up example. * lang/python/examples/encrypt-to-all.py: Likewise. * lang/python/examples/genkey.py: Likewise. * lang/python/examples/inter-edit.py: Likewise. * lang/python/examples/sign.py: Likewise. * lang/python/examples/signverify.py: Likewise. * lang/python/examples/simple.py: Likewise. * lang/python/examples/t-edit.py: Likewise. * lang/python/examples/verifydetails.py: Likewise. * lang/python/pyme/__init__.py: Likewise. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/examples/delkey.py')
-rwxr-xr-xlang/python/examples/delkey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/examples/delkey.py b/lang/python/examples/delkey.py
index 600e0c07..773b2623 100755
--- a/lang/python/examples/delkey.py
+++ b/lang/python/examples/delkey.py
@@ -31,6 +31,6 @@ core.check_version(None)
c = core.Context()
# 0 in keylist means to list not only public but secret keys as well.
-for thekey in [x for x in c.op_keylist_all(b"[email protected]", 0)]:
+for thekey in [x for x in c.op_keylist_all("[email protected]", 0)]:
# 1 in delete means to delete not only public but secret keys as well.
c.op_delete(thekey, 1)