show_unsatisfied_dep: include ROOT if it's not /
authorZac Medico <zmedico@gentoo.org>
Fri, 26 Nov 2010 19:54:42 +0000 (11:54 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 26 Nov 2010 19:54:42 +0000 (11:54 -0800)
pym/_emerge/depgraph.py

index 5727dc296dcf11877560a2213e439f1df2b7dacd..49e5db2b9348530deb46f08aeb56bee05f05bbf3 100644 (file)
@@ -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()