Don't show the repo display when the package list is empty.
authorZac Medico <zmedico@gentoo.org>
Tue, 17 Jul 2007 04:38:27 +0000 (04:38 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 17 Jul 2007 04:38:27 +0000 (04:38 -0000)
svn path=/main/trunk/; revision=7290

pym/emerge/__init__.py

index 804a8f6975f7954c003045037aed22cac9825da5..62d501daab93df7c17db5b3cf0d2a7e16cd7a3a2 100644 (file)
@@ -3088,7 +3088,8 @@ class depgraph(object):
                if verbosity == 3:
                        print
                        print counters
-                       sys.stdout.write(str(repo_display))
+                       if p:
+                               sys.stdout.write(str(repo_display))
 
                if "--changelog" in self.myopts:
                        print