summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py3
-rw-r--r--pym/portage/sets/__init__.py4
2 files changed, 3 insertions, 4 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index aa7520edd..a905d8e20 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3,6 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
VERSION="$Rev$"[6:-2] + "-svn"
@@ -10,8 +11,6 @@ VERSION="$Rev$"[6:-2] + "-svn"
# START OF IMPORTS -- START OF IMPORTS -- START OF IMPORTS -- START OF IMPORT
# ===========================================================================
-from __future__ import print_function
-
try:
import sys
import codecs
diff --git a/pym/portage/sets/__init__.py b/pym/portage/sets/__init__.py
index c617efc3a..01ce66055 100644
--- a/pym/portage/sets/__init__.py
+++ b/pym/portage/sets/__init__.py
@@ -2,11 +2,11 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
__all__ = ["SETPREFIX", "get_boolean", "SetConfigError",
"SetConfig", "load_default_config"]
-from __future__ import print_function
-
try:
from configparser import SafeConfigParser, NoOptionError
except ImportError: