projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f342916
)
resume_depgraph: be careful with parent_node type
author
Zac Medico
<zmedico@gentoo.org>
Tue, 12 Jul 2011 19:26:47 +0000
(12:26 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 12 Jul 2011 19:26:47 +0000
(12:26 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 8219a773845f140cbb56bf0d81b862316948bc2d..a5923ddf6481f0084b5bcc48aace83e9401cb1da 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-6881,8
+6881,9
@@
def _resume_depgraph(settings, trees, mtimedb, myopts, myparams, spinner):
unsatisfied_parents[parent_node] = parent_node
unsatisfied_stack.append(parent_node)
- unsatisfied_tuples = set(tuple(pkg)
- for pkg in unsatisfied_parents)
+ unsatisfied_tuples = frozenset(tuple(parent_node)
+ for parent_node in unsatisfied_parents
+ if isinstance(parent_node, Package))
pruned_mergelist = []
for x in mergelist:
if isinstance(x, list) and \