diff options
author | Sebastian Luther <SebastianLuther@gmx.de> | 2011-09-19 15:07:08 +0200 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-09-20 09:47:34 -0700 |
commit | 6cea2091526659521d35be6c8dc7733f69f1a760 (patch) | |
tree | 3f3e2598d61469ce598b7b89bcf6b60ac0b8e5d9 /pym/_emerge/depgraph.py | |
parent | 72ef29a6adaa053cf2d538349a3a1555909ed697 (diff) | |
download | portage-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.py | 5 |
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: |