From 631c83c48f742ff053dc3f744e6d4d7c71ac7b9e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 10 Oct 2010 16:36:03 -0700 Subject: [PATCH] Fix backtrack max_retries calculation. --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2