comparison mercurial/commands.py @ 9679:a1943c2a4661

pychecker: remove unused local variables
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 31 Oct 2009 17:04:46 +0100
parents e2b1de5fee04
children c6da1cb3b255
comparison
equal deleted inserted replaced
9678:e2b1de5fee04 9679:a1943c2a4661
29 29
30 If no names are given, add all files to the repository. 30 If no names are given, add all files to the repository.
31 """ 31 """
32 32
33 bad = [] 33 bad = []
34 exacts = {}
35 names = [] 34 names = []
36 m = cmdutil.match(repo, pats, opts) 35 m = cmdutil.match(repo, pats, opts)
37 oldbad = m.bad 36 oldbad = m.bad
38 m.bad = lambda x,y: bad.append(x) or oldbad(x,y) 37 m.bad = lambda x,y: bad.append(x) or oldbad(x,y)
39 38