In the 'there are no ebuilds to satisfy "foo"' message, discard
authorZac Medico <zmedico@gentoo.org>
Thu, 1 Nov 2007 21:14:06 +0000 (21:14 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 1 Nov 2007 21:14:06 +0000 (21:14 -0000)
null/ from failed cpv_expand category expansion.

svn path=/main/trunk/; revision=8357

pym/_emerge/__init__.py

index 83e0d1af572033ec32cc4f1317916e1d63d7a663..15771e154d013ed8c78454800f769844aa879549 100644 (file)
@@ -2026,6 +2026,8 @@ class depgraph(object):
                xinfo = '"%s"' % atom
                if arg:
                        xinfo='"%s"' % arg
+               # Discard null/ from failed cpv_expand category expansion.
+               xinfo = xinfo.replace("null/", "")
                if myparent:
                        xfrom = '(dependency required by '+ \
                                green('"%s"' % myparent[2]) + \