projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf63087
)
Bug #252572 - Fix a loop condition inside depgraph._serialize_tasks() which
author
Zac Medico
<zmedico@gentoo.org>
Fri, 26 Dec 2008 20:34:18 +0000
(20:34 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 26 Dec 2008 20:34:18 +0000
(20:34 -0000)
can cause an infinite loop that's triggered by unresolvable blockers.
svn path=/main/trunk/; revision=12348
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 714b7daaef29a04ac6b77814621642675eadb645..e34f7ab35b419dcddd22111b056b9e03b1bdb5a2 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-6838,7
+6838,7
@@
class depgraph(object):
selected_nodes = list(selected_nodes)
selected_nodes.sort(cmp_circular_bias)
- if not selected_nodes and
not myblocker_uninstalls.is_empty
():
+ if not selected_nodes and
myblocker_uninstalls.leaf_nodes
():
# An Uninstall task needs to be executed in order to
# avoid conflict if possible.
min_parent_deps = None