summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-11-26 11:54:42 -0800
committerZac Medico <zmedico@gentoo.org>2010-11-26 11:54:42 -0800
commit08aaf2185ee403b18cd9f9009201475ea3f26ce6 (patch)
tree933052a4483dbcded92f8999900ae0612a26b158
parent415bffe6bc43a11a40d835092a771db42ecfd88f (diff)
downloadportage-08aaf2185ee403b18cd9f9009201475ea3f26ce6.tar.gz
portage-08aaf2185ee403b18cd9f9009201475ea3f26ce6.tar.bz2
portage-08aaf2185ee403b18cd9f9009201475ea3f26ce6.zip
show_unsatisfied_dep: include ROOT if it's not /
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 5727dc296..49e5db2b9 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2189,6 +2189,8 @@ class depgraph(object):
xinfo = _unicode_decode('"%s"') % (myparent,)
# Discard null/ from failed cpv_expand category expansion.
xinfo = xinfo.replace("null/", "")
+ if root != "/":
+ xinfo = "%s for %s" % (xinfo, root)
masked_packages = []
missing_use = []
masked_pkg_instances = set()