From d1eedd8e862363a11cc4ccc4e28829646cca81f9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 23 Oct 2007 05:36:37 +0000 Subject: Don't show the "checking files for package collisions" message when --quiet is enabled. svn path=/main/trunk/; revision=8248 --- pym/portage/dbapi/vartree.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pym') 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: -- cgit v1.2.3-1-g7c22