Prevent [None] in repo display. Thanks to grobian.
authorZac Medico <zmedico@gentoo.org>
Sun, 24 Aug 2008 18:21:20 +0000 (18:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 24 Aug 2008 18:21:20 +0000 (18:21 -0000)
svn path=/main/trunk/; revision=11470

pym/_emerge/__init__.py

index 333043d4d6070e83fa8b03ef1bb0c1489a609301..ca22b0941751963392e9cea0dbf81c02793a8789 100644 (file)
@@ -7377,7 +7377,7 @@ class depgraph(object):
                        if verboseadd:
                                myprint += " " + verboseadd
 
-                       if show_repos:
+                       if show_repos and repoadd:
                                myprint += " " + teal("[%s]" % repoadd)
 
                        out.write("%s\n" % (myprint,))