summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen McGinnes <ben@adversary.org>2018-06-17 22:42:43 +1000
committerBen McGinnes <ben@adversary.org>2018-06-17 22:42:43 +1000
commit19c5267f868aa41e73752ac1c76ec7ae1efe07b8 (patch)
treeb64267e70da956a7ea3a0e8b1a861838bd8fbb3b
parenta5b24ae46c81d3abd3bb18bf0390cab6ebb2bd77 (diff)
downloadgpgme-19c5267f868aa41e73752ac1c76ec7ae1efe07b8.tar.gz
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 <belyi@users.sourceforge.net>
# Copyright (C) 2002 John Goerzen <jgoerzen@complete.org>