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/tests/initial.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lang/python/tests/initial.py') diff --git a/lang/python/tests/initial.py b/lang/python/tests/initial.py index 2d4827a0..a811a936 100755 --- a/lang/python/tests/initial.py +++ b/lang/python/tests/initial.py @@ -22,14 +22,14 @@ del absolute_import, print_function, unicode_literals import os import subprocess -import pyme +import gpg import support -support.init_gpgme(pyme.constants.PROTOCOL_OpenPGP) +support.init_gpgme(gpg.constants.PROTOCOL_OpenPGP) subprocess.check_call([os.path.join(os.getenv('top_srcdir'), "tests", "start-stop-agent"), "--start"]) -with pyme.Context() as c: +with gpg.Context() as c: alpha = c.get_key("A0FF4590BB6122EDEF6E3C542D727CC768697734", False) bob = c.get_key("D695676BDCEDCC2CDD6152BCFE180B1DA9E3B0B2", False) -- cgit v1.2.3