summaryrefslogtreecommitdiffstats
path: root/pym/portage
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage')
-rw-r--r--pym/portage/__init__.py2
-rw-r--r--pym/portage/cache/util.py2
-rw-r--r--pym/portage/cvstree.py2
-rw-r--r--pym/portage/dbapi/porttree.py2
-rw-r--r--pym/portage/dbapi/vartree.py2
-rw-r--r--pym/portage/dispatch_conf.py2
-rw-r--r--pym/portage/elog/mod_echo.py2
-rw-r--r--pym/portage/sets/__init__.py2
-rw-r--r--pym/portage/sets/libs.py2
9 files changed, 18 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index deb7b2ff9..aa7520edd 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -10,6 +10,8 @@ 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/cache/util.py b/pym/portage/cache/util.py
index 8eee5971d..55bcb015c 100644
--- a/pym/portage/cache/util.py
+++ b/pym/portage/cache/util.py
@@ -3,6 +3,8 @@
# License: GPL2
# $Id$
+from __future__ import print_function
+
__all__ = ["mirror_cache", "non_quiet_mirroring", "quiet_mirroring"]
from itertools import chain
diff --git a/pym/portage/cvstree.py b/pym/portage/cvstree.py
index de448fdd1..1ecffa493 100644
--- a/pym/portage/cvstree.py
+++ b/pym/portage/cvstree.py
@@ -3,6 +3,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import codecs
import re
import time
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 9a1d65746..b46abb2cc 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
__all__ = ["portdbapi", "close_portdbapi_caches", "portagetree"]
import portage
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 00a683129..74d12c99a 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
__all__ = ["PreservedLibsRegistry", "LinkageMap",
"vardbapi", "vartree", "dblink"] + \
["write_contents", "tar_contents"]
diff --git a/pym/portage/dispatch_conf.py b/pym/portage/dispatch_conf.py
index 971f9eb5f..096ce0a7c 100644
--- a/pym/portage/dispatch_conf.py
+++ b/pym/portage/dispatch_conf.py
@@ -7,6 +7,8 @@
# Library by Wayne Davison <gentoo@blorf.net>, derived from code
# written by Jeremy Wohl (http://igmus.org)
+from __future__ import print_function
+
import os, sys, shutil
try:
from subprocess import getoutput as subprocess_getoutput
diff --git a/pym/portage/elog/mod_echo.py b/pym/portage/elog/mod_echo.py
index f699e630c..28d77649e 100644
--- a/pym/portage/elog/mod_echo.py
+++ b/pym/portage/elog/mod_echo.py
@@ -3,6 +3,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
from portage.output import EOutput, colorize
from portage.const import EBUILD_PHASES
from portage.localization import _
diff --git a/pym/portage/sets/__init__.py b/pym/portage/sets/__init__.py
index 20923ca2e..c617efc3a 100644
--- a/pym/portage/sets/__init__.py
+++ b/pym/portage/sets/__init__.py
@@ -5,6 +5,8 @@
__all__ = ["SETPREFIX", "get_boolean", "SetConfigError",
"SetConfig", "load_default_config"]
+from __future__ import print_function
+
try:
from configparser import SafeConfigParser, NoOptionError
except ImportError:
diff --git a/pym/portage/sets/libs.py b/pym/portage/sets/libs.py
index ede122725..d7e4c731a 100644
--- a/pym/portage/sets/libs.py
+++ b/pym/portage/sets/libs.py
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
from portage.localization import _
from portage.sets.base import PackageSet
from portage.sets import get_boolean