summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-24 18:21:20 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-24 18:21:20 +0000
commit547d765a2f9b553bf62e1b84ac3ce4fb20049743 (patch)
tree0984e0008801a6d81bf079b6e81bd6277237a79b
parent12ab9b31ccb72186c55f7021ca836f95a2187a12 (diff)
downloadportage-547d765a2f9b553bf62e1b84ac3ce4fb20049743.tar.gz
portage-547d765a2f9b553bf62e1b84ac3ce4fb20049743.tar.bz2
portage-547d765a2f9b553bf62e1b84ac3ce4fb20049743.zip
Prevent [None] in repo display. Thanks to grobian.
svn path=/main/trunk/; revision=11470
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 333043d4d..ca22b0941 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -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,))