For bug #142473, account for $ROOT when deciding if a package is part of world or...
authorZac Medico <zmedico@gentoo.org>
Wed, 27 Jun 2007 14:54:49 +0000 (14:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 27 Jun 2007 14:54:49 +0000 (14:54 -0000)
svn path=/main/trunk/; revision=7059

pym/emerge/__init__.py

index 3cf0850d35a25bdbb4e4dbc1d7baeb5394ca13d0..4737ab3936bc1a203467601e669ea3b4e447c632 100644 (file)
@@ -2764,7 +2764,7 @@ class depgraph(object):
                                        myoldbest=blue("["+myoldbest+"]")
 
                                pkg_cp = xs[0]
-                               pkg_world = pkg_cp in worldlist
+                               pkg_world = pkg_cp in worldlist and myroot == self.target_root
 
                                def pkgprint(pkg):
                                        if pkg_merge: