From: Zac Medico Date: Tue, 23 Oct 2007 05:36:37 +0000 (-0000) Subject: Don't show the "checking files for package collisions" message X-Git-Tag: v2.2_pre1~547 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d1eedd8e862363a11cc4ccc4e28829646cca81f9;p=portage.git Don't show the "checking files for package collisions" message when --quiet is enabled. svn path=/main/trunk/; revision=8248 --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 883cf0f55..a306f8267 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1523,11 +1523,12 @@ class dblink(object): collisions = [] destroot = normalize_path(destroot).rstrip(os.path.sep) + \ os.path.sep - print green("*")+" checking "+str(len(mycontents))+" files for package collisions" + writemsg_stdout("%s checking %d files for package collisions\n" % \ + (green("*"), len(mycontents))) for f in mycontents: i = i + 1 if i % 1000 == 0: - print str(i)+" files checked ..." + writemsg_stdout("%d files checked ...\n" % i) dest_path = normalize_path( os.path.join(destroot, f.lstrip(os.path.sep))) try: