mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
largefiles: remove confusing 'or None' from predicate
The match function that is overriden returns a boolean value, so adding 'or None' is both unnecessary and confusing.
This commit is contained in:
parent
39c27d779f
commit
8807f49270
@ -35,7 +35,7 @@ def installnormalfilesmatchfn(manifest):
|
||||
m._fmap = set(m._files)
|
||||
m._always = False
|
||||
origmatchfn = m.matchfn
|
||||
m.matchfn = lambda f: notlfile(f) and origmatchfn(f) or None
|
||||
m.matchfn = lambda f: notlfile(f) and origmatchfn(f)
|
||||
return m
|
||||
oldmatch = installmatchfn(overridematch)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user