summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-08-04 22:22:54 +0000
committerZac Medico <zmedico@gentoo.org>2007-08-04 22:22:54 +0000
commitdd10b19facfd7184f86f7079b07d9fd150e9ffad (patch)
treeec701411a2922f5fab44b31935fd04bf04c736f0
parent5e78bf2dc90b4d04a1bbbd480a26b48fe6716d58 (diff)
downloadportage-dd10b19facfd7184f86f7079b07d9fd150e9ffad.tar.gz
portage-dd10b19facfd7184f86f7079b07d9fd150e9ffad.tar.bz2
portage-dd10b19facfd7184f86f7079b07d9fd150e9ffad.zip
Use == for comparison of portage_node since digraph.clone() makes a deepcopy of the nodes.
svn path=/main/trunk/; revision=7574
-rw-r--r--pym/emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 0a5a603d9..643687508 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -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.