From 15b8a5bbdf3fb81edc6eac707bd2bd78d54394cf Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 20 Sep 2009 11:08:30 +0000 Subject: Update syntax of calls to print() for compatibility with Python 3. (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290 --- bin/quickpkg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/quickpkg') 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 -- cgit v1.2.3-65-gdbad