aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/src/constants/tofu
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-08-18 07:36:23 +0200
committerBen McGinnes <[email protected]>2018-08-18 07:36:23 +0200
commit8a6a73b9c4f92b159450edb5e4a780fc7389ca82 (patch)
treeea28f65ae64a05eb7e993cca9ee8c5e1f8fa473f /lang/python/src/constants/tofu
parentPython bindings src: PEP8 compliance (diff)
downloadgpgme-8a6a73b9c4f92b159450edb5e4a780fc7389ca82.tar.gz
gpgme-8a6a73b9c4f92b159450edb5e4a780fc7389ca82.zip
Python bindings constants: PEP8 compliance (almost)
* PEP8 compliance for all constants except the globals in src/constants/__init__.py depending on whether the import sequence affects the globals themselves.
Diffstat (limited to 'lang/python/src/constants/tofu')
-rw-r--r--lang/python/src/constants/tofu/__init__.py3
-rw-r--r--lang/python/src/constants/tofu/policy.py3
2 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/src/constants/tofu/__init__.py b/lang/python/src/constants/tofu/__init__.py
index 819a58bb..5e58a6a8 100644
--- a/lang/python/src/constants/tofu/__init__.py
+++ b/lang/python/src/constants/tofu/__init__.py
@@ -18,7 +18,8 @@
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import, print_function, unicode_literals
-del absolute_import, print_function, unicode_literals
from . import policy
__all__ = ['policy']
+
+del absolute_import, print_function, unicode_literals
diff --git a/lang/python/src/constants/tofu/policy.py b/lang/python/src/constants/tofu/policy.py
index 5a61f067..53d853de 100644
--- a/lang/python/src/constants/tofu/policy.py
+++ b/lang/python/src/constants/tofu/policy.py
@@ -18,8 +18,7 @@
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import, print_function, unicode_literals
-del absolute_import, print_function, unicode_literals
from gpg import util
util.process_constants('GPGME_TOFU_POLICY_', globals())
-del util
+del absolute_import, print_function, unicode_literals, util