aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/delkey.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/examples/delkey.py')
-rwxr-xr-xlang/python/examples/delkey.py6
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)