summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 11:08:30 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 11:08:30 +0000
commit15b8a5bbdf3fb81edc6eac707bd2bd78d54394cf (patch)
treedbb60d5bbf670f1872539fca80263f17352f5c26 /bin/quickpkg
parentUpdate syntax of 'except' statements for compatibility with Python 3. (diff)
downloadportage-idfetch-15b8a5bbdf3fb81edc6eac707bd2bd78d54394cf.tar.gz
portage-idfetch-15b8a5bbdf3fb81edc6eac707bd2bd78d54394cf.tar.bz2
portage-idfetch-15b8a5bbdf3fb81edc6eac707bd2bd78d54394cf.zip
Update syntax of calls to print() for compatibility with Python 3.
(2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
Diffstat (limited to 'bin/quickpkg')
-rwxr-xr-xbin/quickpkg6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/quickpkg b/bin/quickpkg
index e0aaf63b..496a6832 100755
--- a/bin/quickpkg
+++ b/bin/quickpkg
@@ -159,7 +159,7 @@ def quickpkg_main(options, args, eout):
if not successes:
eout.eerror("No packages found")
return 1
- print
+ print()
eout.einfo("Packages now in '%s':" % bintree.pkgdir)
import math
units = {10:'K', 20:'M', 30:'G', 40:'T',
@@ -183,11 +183,11 @@ def quickpkg_main(options, args, eout):
size_str = str(size)
eout.einfo("%s: %s" % (cpv, size_str))
if config_files_excluded:
- print
+ print()
eout.ewarn("Excluded config files: %d" % config_files_excluded)
eout.ewarn("See --help if you would like to include config files.")
if missing:
- print
+ print()
eout.ewarn("The following packages could not be found:")
eout.ewarn(" ".join(missing))
return 2