From: Zac Medico Date: Sun, 24 Aug 2008 18:21:20 +0000 (-0000) Subject: Prevent [None] in repo display. Thanks to grobian. X-Git-Tag: v2.2_rc9~51 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=547d765a2f9b553bf62e1b84ac3ce4fb20049743;p=portage.git Prevent [None] in repo display. Thanks to grobian. svn path=/main/trunk/; revision=11470 --- 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,))