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:
Martin von Zweigbergk 2014-10-27 21:10:24 -07:00
parent 39c27d779f
commit 8807f49270

View File

@ -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)