aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/exportimport.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/exportimport.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/exportimport.py')
-rwxr-xr-xlang/python/examples/exportimport.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/examples/exportimport.py b/lang/python/examples/exportimport.py
index d84a01c3..36ced579 100755
--- a/lang/python/examples/exportimport.py
+++ b/lang/python/examples/exportimport.py
@@ -20,12 +20,13 @@
# It uses 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 sys
import os
import gpg
+del absolute_import, print_function, unicode_literals
+
with gpg.Context(armor=True) as c, gpg.Data() as expkey: