summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2011-09-19 15:07:08 +0200
committerZac Medico <zmedico@gentoo.org>2011-09-20 09:47:34 -0700
commit6cea2091526659521d35be6c8dc7733f69f1a760 (patch)
tree3f3e2598d61469ce598b7b89bcf6b60ac0b8e5d9 /pym/_emerge/depgraph.py
parent72ef29a6adaa053cf2d538349a3a1555909ed697 (diff)
downloadportage-6cea2091526659521d35be6c8dc7733f69f1a760.tar.gz
portage-6cea2091526659521d35be6c8dc7733f69f1a760.tar.bz2
portage-6cea2091526659521d35be6c8dc7733f69f1a760.zip
Reject inconsistent backtrack parameters
If backtracking masks a package that caused another package to be masked, we declare this backtracking node as invalid. The backtracker should be able to find another node that gives a valid solution if one exists. This fixes bug 375573.
Diffstat (limited to 'pym/_emerge/depgraph.py')
-rw-r--r--pym/_emerge/depgraph.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 19773c2d9..8b2bfd378 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -1121,11 +1121,6 @@ class depgraph(object):
all_match = False
break
- if to_be_selected >= to_be_masked:
- # We only care about the parent atoms
- # when they trigger a downgrade.
- parent_atoms = set()
-
fallback_data.append((to_be_masked, parent_atoms))
if all_match: