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

pym/emerge/__init__.py

index 0a5a603d930864604043473b7ef6aa30b6de15ff..6436875082041571dd3206da89dba96da461c0c5 100644 (file)
@@ -2262,7 +2262,7 @@ class depgraph(object):
                                                        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.