More bytes good
* Another string to byte change.
This commit is contained in:
parent
1c87ecb86a
commit
ba3c9f2617
@ -29,6 +29,6 @@ core.check_version(None)
|
|||||||
|
|
||||||
c = core.Context()
|
c = core.Context()
|
||||||
# 0 in keylist means to list not only public but secret keys as well.
|
# 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.
|
# 1 in delete means to delete not only public but secret keys as well.
|
||||||
c.op_delete(thekey, 1)
|
c.op_delete(thekey, 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user