summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-23 05:44:11 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-23 05:44:11 +0000
commit94f7f9c4cbfd241235f88b64c9a92aa790592d8a (patch)
tree7b2c2d234455cf4f280cceed925caff435fe843d
parentFix the version Id tag. (trunk r8243) (diff)
downloadportage-94f7f9c4cbfd241235f88b64c9a92aa790592d8a.tar.gz
portage-94f7f9c4cbfd241235f88b64c9a92aa790592d8a.tar.bz2
portage-94f7f9c4cbfd241235f88b64c9a92aa790592d8a.zip
Don't show the "checking files for package collisions" messagev2.1.3.16
when --quiet is enabled. (trunk r8248) svn path=/main/branches/2.1.2/; revision=8249
-rw-r--r--pym/portage.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 4cf185bbd..bddc3f257 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -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: