diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-10 16:36:03 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-10 16:36:03 -0700 |
commit | 631c83c48f742ff053dc3f744e6d4d7c71ac7b9e (patch) | |
tree | 4e9defdb9e36df7329c76b8c508dec9c9be9f1f4 | |
parent | Ensure backtrack loop termination. (diff) | |
download | portage-2.2_rc92.tar.gz portage-2.2_rc92.tar.bz2 portage-2.2_rc92.zip |
Fix backtrack max_retries calculation.v2.2_rc92
-rw-r--r-- | pym/_emerge/depgraph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 054dc8ca0..2a8956deb 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -5533,7 +5533,7 @@ def _backtrack_depgraph(settings, trees, myopts, myparams, myaction, myfiles, sp break elif not allow_backtracking: break - elif backtracked > max_retries: + elif backtracked >= max_retries: break elif mydepgraph.need_restart(): backtracked += 1 |