Bug #192706 - Do not print a summary at the end of --depclean if
authorZac Medico <zmedico@gentoo.org>
Fri, 28 Sep 2007 06:41:36 +0000 (06:41 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 28 Sep 2007 06:41:36 +0000 (06:41 -0000)
there is nothing to clean and --quiet is enabled. (trunk r7838)

svn path=/main/branches/2.1.2/; revision=7868

bin/emerge

index c8d5f0734b2555190200116f6b4e053ba0c44275..093496ced531db08ecbc57988974ed46bddcdf29 100755 (executable)
@@ -5709,6 +5709,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))