diff options
author | Ben McGinnes <[email protected]> | 2018-08-18 05:05:34 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-08-18 05:05:34 +0000 |
commit | 7962cde13c5cbdc643bbde795e2c29e638dfc186 (patch) | |
tree | d506c41a4991e64995200c0ce9b31d6b42aee5df /lang/python/src/core.py | |
parent | Symmetric example (diff) | |
download | gpgme-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 '')
-rw-r--r-- | lang/python/src/core.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/src/core.py b/lang/python/src/core.py index 7858468d..d4711317 100644 --- a/lang/python/src/core.py +++ b/lang/python/src/core.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals -del absolute_import, print_function, unicode_literals import re import os @@ -14,6 +13,8 @@ from . import constants from . import errors from . import util +del absolute_import, print_function, unicode_literals + # Copyright (C) 2016-2018 g10 Code GmbH # Copyright (C) 2004, 2008 Igor Belyi <[email protected]> # Copyright (C) 2002 John Goerzen <[email protected]> |