diff options
author | Daniel Kahn Gillmor <[email protected]> | 2016-10-28 20:45:49 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-10-31 14:42:27 +0000 |
commit | 2fac017618a76882605125b05ff1f7393fe99860 (patch) | |
tree | b7eddc17682b6aa91b8c3c723a2fc02f28ac0a6c /lang/python/examples/delkey.py | |
parent | core: New API functions gpgme_set_sender, gpgme_get_sender. (diff) | |
download | gpgme-2fac017618a76882605125b05ff1f7393fe99860.tar.gz gpgme-2fac017618a76882605125b05ff1f7393fe99860.zip |
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 <[email protected]>
Diffstat (limited to 'lang/python/examples/delkey.py')
-rwxr-xr-x | lang/python/examples/delkey.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/examples/delkey.py b/lang/python/examples/delkey.py index a02f4129..12510f3e 100755 --- a/lang/python/examples/delkey.py +++ b/lang/python/examples/delkey.py @@ -22,12 +22,12 @@ from __future__ import absolute_import, print_function, unicode_literals del absolute_import, print_function, unicode_literals -import pyme +import gpg -with pyme.Context() as c: +with gpg.Context() as c: # Note: We must not modify the key store during iteration, # therefore, we explicitly make a list. - keys = list(c.keylist("[email protected]")) + keys = list(c.keylist("[email protected]")) for k in keys: c.op_delete(k, True) |