Fix --backtrack option handling. (trunk r14767) v2.1.7.3
authorZac Medico <zmedico@gentoo.org>
Sat, 31 Oct 2009 23:51:35 +0000 (23:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 31 Oct 2009 23:51:35 +0000 (23:51 -0000)
svn path=/main/branches/2.1.7/; revision=14768

pym/_emerge/depgraph.py

index 2b2c0c62fac5a164eff0c0f91960cd70cd4b7a9d..5d76a49f0b7670235bf9b0078689a58f1eb670c0 100644 (file)
@@ -5329,7 +5329,7 @@ def backtrack_depgraph(settings, trees, myopts, myparams,
 def _backtrack_depgraph(settings, trees, myopts, myparams, 
        myaction, myfiles, spinner):
 
-       backtrack_max = myopts.get('backtrack', 5)
+       backtrack_max = myopts.get('--backtrack', 5)
        runtime_pkg_mask = None
        allow_backtracking = True
        backtracked = 0