aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 11:28:14 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 11:28:14 +0000
commitcf4c50ffa68ce110c40ae3926d60b241bbe230c2 (patch)
tree1dae677b2d805395e4a35d9230e3a299b166f681 /bin/emerge
parentUpdate syntax of calls to print() for compatibility with Python 3. (diff)
downloadportage-cf4c50ffa68ce110c40ae3926d60b241bbe230c2.tar.gz
portage-cf4c50ffa68ce110c40ae3926d60b241bbe230c2.tar.bz2
portage-cf4c50ffa68ce110c40ae3926d60b241bbe230c2.zip
Support print() function with Python 2 in some files.
svn path=/main/trunk/; revision=14291
Diffstat (limited to 'bin/emerge')
-rwxr-xr-xbin/emerge2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index fca852d02..522135fcd 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -3,6 +3,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
# This block ensures that ^C interrupts are handled quietly.
try: