summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-01 21:14:06 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-01 21:14:06 +0000
commit260790707b2414e81c4173d80326fd270cdb4e05 (patch)
treea58454de09dfa2ddd4d1671574dbbf28d38564c1
parent9eee27795cb42098f6036ee6f2183cf1a88e9343 (diff)
downloadportage-260790707b2414e81c4173d80326fd270cdb4e05.tar.gz
portage-260790707b2414e81c4173d80326fd270cdb4e05.tar.bz2
portage-260790707b2414e81c4173d80326fd270cdb4e05.zip
In the 'there are no ebuilds to satisfy "foo"' message, discard
null/ from failed cpv_expand category expansion. svn path=/main/trunk/; revision=8357
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 83e0d1af5..15771e154 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -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]) + \