From 94f7f9c4cbfd241235f88b64c9a92aa790592d8a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 23 Oct 2007 05:44:11 +0000 Subject: [PATCH] Don't show the "checking files for package collisions" message when --quiet is enabled. (trunk r8248) svn path=/main/branches/2.1.2/; revision=8249 --- pym/portage.py | 5 +++-- 1 file 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: -- 2.26.2