From: Zac Medico Date: Wed, 26 Sep 2007 21:58:28 +0000 (-0000) Subject: Bug #192706 - Do not print a summary at the end of --depclean X-Git-Tag: v2.2_pre1~775 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5d24b2af00f0ce0638727bf7388c40ae8d50790e;p=portage.git Bug #192706 - Do not print a summary at the end of --depclean if there is nothing to clean and --quiet is enabled. svn path=/main/trunk/; revision=7838 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 6e0dc1d30..840a750e3 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -5744,6 +5744,9 @@ def action_depclean(settings, trees, ldpath_mtimes, if action == "prune": return + if not cleanlist and "--quiet" in myopts: + return + print "Packages installed: "+str(len(myvarlist)) print "Packages in world: "+str(len(worldlist)) print "Packages in system: "+str(len(syslist))