aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/src/__init__.py
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-08-18 05:05:34 +0000
committerBen McGinnes <[email protected]>2018-08-18 05:05:34 +0000
commit7962cde13c5cbdc643bbde795e2c29e638dfc186 (patch)
treed506c41a4991e64995200c0ce9b31d6b42aee5df /lang/python/src/__init__.py
parentSymmetric example (diff)
downloadgpgme-7962cde13c5cbdc643bbde795e2c29e638dfc186.tar.gz
gpgme-7962cde13c5cbdc643bbde795e2c29e638dfc186.zip
Python bindings src: PEP8 compliance
* import namespace clearance for src/*.py. * Fixed a handful of is/is not None checks as well.
Diffstat (limited to 'lang/python/src/__init__.py')
-rw-r--r--lang/python/src/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/src/__init__.py b/lang/python/src/__init__.py
index 82c1cce1..30e638c4 100644
--- a/lang/python/src/__init__.py
+++ b/lang/python/src/__init__.py
@@ -95,7 +95,6 @@ GPGME documentation: https://www.gnupg.org/documentation/manuals/gpgme/
"""
from __future__ import absolute_import, print_function, unicode_literals
-del absolute_import, print_function, unicode_literals
from . import core
from . import errors
@@ -106,6 +105,8 @@ from . import version
from .core import Context
from .core import Data
+del absolute_import, print_function, unicode_literals
+
# Interface hygiene.
# Drop the low-level gpgme that creeps in for some reason.