diff options
author | Ben McGinnes <[email protected]> | 2015-05-16 18:09:38 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2015-05-16 18:09:38 +0000 |
commit | ba3c9f2617955dc828309a4800e4f5b3f1c3a949 (patch) | |
tree | 2941e0d3628700640c8e267ab758b4bc0e99d1e6 /lang/py3-pyme/examples/delkey.py | |
parent | Updated encrypt-to-all (diff) | |
download | gpgme-ba3c9f2617955dc828309a4800e4f5b3f1c3a949.tar.gz gpgme-ba3c9f2617955dc828309a4800e4f5b3f1c3a949.zip |
More bytes good
* Another string to byte change.
Diffstat (limited to '')
-rwxr-xr-x | lang/py3-pyme/examples/delkey.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/py3-pyme/examples/delkey.py b/lang/py3-pyme/examples/delkey.py index 8bdb85b0..dfcc5ea4 100755 --- a/lang/py3-pyme/examples/delkey.py +++ b/lang/py3-pyme/examples/delkey.py @@ -29,6 +29,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("[email protected]", 0)]: +for thekey in [x for x in c.op_keylist_all(b"[email protected]", 0)]: # 1 in delete means to delete not only public but secret keys as well. c.op_delete(thekey, 1) |