summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-23 05:36:37 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-23 05:36:37 +0000
commitd1eedd8e862363a11cc4ccc4e28829646cca81f9 (patch)
tree1c8389cc90da581173d1e11ef76a9e738edc5fdd
parent74f8a5844f75d6d50d7d19fc325cbc8839bf7613 (diff)
downloadportage-d1eedd8e862363a11cc4ccc4e28829646cca81f9.tar.gz
portage-d1eedd8e862363a11cc4ccc4e28829646cca81f9.tar.bz2
portage-d1eedd8e862363a11cc4ccc4e28829646cca81f9.zip
Don't show the "checking files for package collisions" message
when --quiet is enabled. svn path=/main/trunk/; revision=8248
-rw-r--r--pym/portage/dbapi/vartree.py5
1 files changed, 3 insertions, 2 deletions
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: