aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-06-17 12:42:43 +0000
committerBen McGinnes <[email protected]>2018-06-17 12:42:43 +0000
commit19c5267f868aa41e73752ac1c76ec7ae1efe07b8 (patch)
treeb64267e70da956a7ea3a0e8b1a861838bd8fbb3b
parentpython bindings: core — PEP8 compliance (diff)
downloadgpgme-19c5267f868aa41e73752ac1c76ec7ae1efe07b8.tar.gz
gpgme-19c5267f868aa41e73752ac1c76ec7ae1efe07b8.zip
python bindings: core import statements
* Fixed the bit I broke while fixing the PEP8 compliance issues.
-rw-r--r--lang/python/src/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/src/core.py b/lang/python/src/core.py
index 33a1c708..8f2e9d8d 100644
--- a/lang/python/src/core.py
+++ b/lang/python/src/core.py
@@ -1,5 +1,8 @@
# -*- coding: utf-8 -*-
+from __future__ import absolute_import, print_function, unicode_literals
+del absolute_import, print_function, unicode_literals
+
import re
import os
import warnings
@@ -11,9 +14,6 @@ from . import constants
from . import errors
from . import util
-from __future__ import absolute_import, print_function, unicode_literals
-del absolute_import, print_function, unicode_literals
-
# Copyright (C) 2016-2017 g10 Code GmbH
# Copyright (C) 2004,2008 Igor Belyi <[email protected]>
# Copyright (C) 2002 John Goerzen <[email protected]>