From a5e33fbe65efcc598872807d666659ec5044c19f Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 20 Sep 2009 16:48:13 +0000 Subject: [PATCH] Fix position of imports from __future__. svn path=/main/trunk/; revision=14296 --- pym/portage/__init__.py | 3 +-- pym/portage/sets/__init__.py | 4 ++-- 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: -- 2.26.2