From ba3c9f2617955dc828309a4800e4f5b3f1c3a949 Mon Sep 17 00:00:00 2001 From: Ben McGinnes Date: Sun, 17 May 2015 04:09:38 +1000 Subject: [PATCH] More bytes good * Another string to byte change. --- lang/py3-pyme/examples/delkey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("joe@example.org", 0)]: +for thekey in [x for x in c.op_keylist_all(b"joe@example.org", 0)]: # 1 in delete means to delete not only public but secret keys as well. c.op_delete(thekey, 1)