aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/delkey.py
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-08-18 08:46:47 +0000
committerBen McGinnes <[email protected]>2018-08-18 08:46:47 +0000
commitb5fbe90676f46b9615919133753a65b20318fe63 (patch)
tree2a2a31396434844b266813fd96c5d089570536c3 /lang/python/examples/delkey.py
parentPython bindings setup: Near PEP8 compliance (diff)
downloadgpgme-b5fbe90676f46b9615919133753a65b20318fe63.tar.gz
gpgme-b5fbe90676f46b9615919133753a65b20318fe63.zip
Python bindings examples: PEP8 conpliance
* Appears to be complete compliance.
Diffstat (limited to 'lang/python/examples/delkey.py')
-rwxr-xr-xlang/python/examples/delkey.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/examples/delkey.py b/lang/python/examples/delkey.py
index 12510f3e..30b3145a 100755
--- a/lang/python/examples/delkey.py
+++ b/lang/python/examples/delkey.py
@@ -20,10 +20,11 @@
# It deletes keys for [email protected] generated by genkey.py script
from __future__ import absolute_import, print_function, unicode_literals
-del absolute_import, print_function, unicode_literals
import gpg
+del absolute_import, print_function, unicode_literals
+
with gpg.Context() as c:
# Note: We must not modify the key store during iteration,
# therefore, we explicitly make a list.