Use == for comparison of portage_node since digraph.clone() makes a deepcopy of the...
authorZac Medico <zmedico@gentoo.org>
Sat, 4 Aug 2007 22:24:15 +0000 (22:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 4 Aug 2007 22:24:15 +0000 (22:24 -0000)
svn path=/main/branches/2.1.2/; revision=7575

bin/emerge

index a0f40a7238a3cbd1561339243165cb8dd3df0ef3..bdc92e70aaa23a8ea8bbb630a8110ba71f53c4b4 100755 (executable)
@@ -2314,7 +2314,7 @@ class depgraph:
                                                        return True
                                                if node not in mergeable_nodes:
                                                        return False
-                                               if node is portage_node and mygraph.child_nodes(node,
+                                               if node == portage_node and mygraph.child_nodes(node,
                                                        ignore_priority=DepPriority.MEDIUM_SOFT):
                                                        # Make sure that portage always has all of it's
                                                        # RDEPENDs installed first.