Commits

Patrick Mézard committed 8b25e9c

evolve: avoid 'any' argument name in _picknexttroubled()

Comments (0)

Files changed (1)

     else:
         assert False  # WHAT? unknown troubles
 
-def _picknexttroubled(ui, repo, any=False):
+def _picknexttroubled(ui, repo, pickany=False):
     """Pick a the next trouble changeset to solve"""
     tr = _stabilizableunstable(repo, repo['.'])
     if tr is None:
         wdp = repo['.']
         if 'conflicting' in wdp.troubles():
             tr = wdp
-    if tr is None and any:
+    if tr is None and pickany:
         troubled = list(repo.set('unstable()'))
         if not troubled:
             troubled = list(repo.set('latecomer()'))