Don't show the "checking files for package collisions" message
authorZac Medico <zmedico@gentoo.org>
Tue, 23 Oct 2007 05:36:37 +0000 (05:36 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 23 Oct 2007 05:36:37 +0000 (05:36 -0000)
when --quiet is enabled.

svn path=/main/trunk/; revision=8248

pym/portage/dbapi/vartree.py

index 883cf0f55fd886f8284ef70290ac5de8bf749073..a306f82675250db94c9229deef6b67f5bcf52f4b 100644 (file)
@@ -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: