Don't show the repo display when the merge list is empty.
authorZac Medico <zmedico@gentoo.org>
Wed, 8 Oct 2008 22:47:15 +0000 (22:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 8 Oct 2008 22:47:15 +0000 (22:47 -0000)
svn path=/main/trunk/; revision=11660

pym/_emerge/__init__.py

index 24dc51bd5fbf27ebf749bb2116adfb300f129432..29c7199b1a5dba8a2bfecff02da43c56f61a8119 100644 (file)
@@ -7471,7 +7471,7 @@ class depgraph(object):
                                                        p.append(colorize("WARN", "    then resume the merge."))
 
                out = sys.stdout
-               show_repos = repoadd_set != set(["0"])
+               show_repos = repoadd_set and repoadd_set != set(["0"])
 
                for x in p:
                        if isinstance(x, basestring):