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

svn path=/main/branches/2.1.2/; revision=8249

pym/portage.py

index 4cf185bbdd231cddf5bf5c0851c8e087f02bd801..bddc3f2570d656109d660f053d71070a811f744a 100644 (file)
@@ -7973,11 +7973,12 @@ class dblink:
                        collisions = []
                        destroot = normalize_path(destroot).rstrip(os.path.sep) + \
                                os.path.sep
-                       print green("*")+" checking "+str(len(myfilelist))+" files for package collisions"
+                       writemsg_stdout("%s checking %d files for package collisions\n" % \
+                               (green("*"), len(myfilelist)))
                        for f in myfilelist:
                                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: