From 2fac017618a76882605125b05ff1f7393fe99860 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Fri, 28 Oct 2016 16:45:49 -0400 Subject: python: Rename Python module from PyME to gpg. This follows weeks of discussion on the gnupg-devel mailing list. Hopefully it will make it easier for people using Python to use GnuPG in the future. Signed-off-by: Daniel Kahn Gillmor --- lang/python/examples/inter-edit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/python/examples/inter-edit.py') diff --git a/lang/python/examples/inter-edit.py b/lang/python/examples/inter-edit.py index 3c0f29ba..ed0d8c42 100644 --- a/lang/python/examples/inter-edit.py +++ b/lang/python/examples/inter-edit.py @@ -22,14 +22,14 @@ from __future__ import absolute_import, print_function, unicode_literals del absolute_import, print_function, unicode_literals import sys -import pyme +import gpg if len(sys.argv) != 2: sys.exit("Usage: %s \n" % sys.argv[0]) name = sys.argv[1] -with pyme.Context() as c: +with gpg.Context() as c: keys = list(c.keylist(name)) if len(keys) == 0: sys.exit("No key matching {}.".format(name)) -- cgit v1.2.3