Revert one more change from bug #337178: parent_atoms is supposed
authorZac Medico <zmedico@gentoo.org>
Mon, 27 Sep 2010 05:52:52 +0000 (22:52 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 27 Sep 2010 05:52:52 +0000 (22:52 -0700)
to refer to the new pkg, not the one to_be_masked.

pym/_emerge/depgraph.py

index 54e412a504b26518aae36edc17ec6246da4653fe..50aefda28c537004897915bb8de89e126178753e 100644 (file)
@@ -899,7 +899,7 @@ class depgraph(object):
                                                to_be_masked = existing_node
 
                                                parent_atoms = \
-                                                       self._dynamic_config._parent_atoms.get(to_be_masked, set())
+                                                       self._dynamic_config._parent_atoms.get(pkg, set())
                                                if parent_atoms:
                                                        conflict_atoms = self._dynamic_config._slot_conflict_parent_atoms.intersection(parent_atoms)
                                                        if conflict_atoms: