diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-09-26 21:58:28 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-09-26 21:58:28 +0000 |
commit | 5d24b2af00f0ce0638727bf7388c40ae8d50790e (patch) | |
tree | 200b2e88a00f2fc6854df5cdb2ab85c4d79febbd | |
parent | 31e53c35e81dbc93ac1226f29fb5c5955817b74a (diff) | |
download | portage-5d24b2af00f0ce0638727bf7388c40ae8d50790e.tar.gz portage-5d24b2af00f0ce0638727bf7388c40ae8d50790e.tar.bz2 portage-5d24b2af00f0ce0638727bf7388c40ae8d50790e.zip |
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
-rw-r--r-- | pym/emerge/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
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)) |