summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-10 16:36:03 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-10 16:36:03 -0700
commit631c83c48f742ff053dc3f744e6d4d7c71ac7b9e (patch)
tree4e9defdb9e36df7329c76b8c508dec9c9be9f1f4
parent34e329ae93e4cfb409d4de88ceabdbda863c2f91 (diff)
downloadportage-631c83c48f742ff053dc3f744e6d4d7c71ac7b9e.tar.gz
portage-631c83c48f742ff053dc3f744e6d4d7c71ac7b9e.tar.bz2
portage-631c83c48f742ff053dc3f744e6d4d7c71ac7b9e.zip
Fix backtrack max_retries calculation.v2.2_rc92
-rw-r--r--pym/_emerge/depgraph.py2
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