Fix --backtrack option handling. v2.2_rc48
authorZac Medico <zmedico@gentoo.org>
Sat, 31 Oct 2009 23:51:22 +0000 (23:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 31 Oct 2009 23:51:22 +0000 (23:51 -0000)
svn path=/main/trunk/; revision=14767

pym/_emerge/depgraph.py

index 7f74b309a090c7b425f0527b46dc3fc29370d369..7e7d8d08154e8dfb84b99f601534033f8fdc8cdb 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