summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 16:48:13 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 16:48:13 +0000
commita5e33fbe65efcc598872807d666659ec5044c19f (patch)
tree2ecd9b457781a21891624a5a92e6fd2f11f47d78
parent46f085e73a50962b0148676be4381241381b869b (diff)
downloadportage-a5e33fbe65efcc598872807d666659ec5044c19f.tar.gz
portage-a5e33fbe65efcc598872807d666659ec5044c19f.tar.bz2
portage-a5e33fbe65efcc598872807d666659ec5044c19f.zip
Fix position of imports from __future__.
svn path=/main/trunk/; revision=14296
-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: