[Pkg-gnupg-commit] [gpgme] 09/412: Strings vs. Bytes
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:26:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit 40290507bcdc63ab9023393d071167d455d70737
Author: Ben McGinnes <ben at adversary.org>
Date: Sun May 17 04:43:53 2015 +1000
Strings vs. Bytes
* CLI input must be byte encoded.
---
lang/py3-pyme/examples/inter-edit.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/py3-pyme/examples/inter-edit.py b/lang/py3-pyme/examples/inter-edit.py
index 088b292..f97232b 100644
--- a/lang/py3-pyme/examples/inter-edit.py
+++ b/lang/py3-pyme/examples/inter-edit.py
@@ -48,7 +48,7 @@ if len(sys.argv) != 2:
else:
c = Context()
out = Data()
- c.op_keylist_start(sys.argv[1], 0)
+ c.op_keylist_start(sys.argv[1].encode('utf-8'), 0)
key = c.op_keylist_next()
helper = {"skip": 0, "data": out}
c.op_edit(key, edit_fnc, helper, out)
--
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