##// END OF EJS Templates
util: use existing never() instead of custom lambda
Mads Kiilerich -
r7430:f0a3e87c default
parent child Browse files
Show More
@@ -607,7 +607,7 b" def matcher(canonroot, cwd='', names=[],"
607 if inc:
607 if inc:
608 dummy, inckinds, dummy = normalizepats(inc, 'glob')
608 dummy, inckinds, dummy = normalizepats(inc, 'glob')
609 incmatch = matchfn(inckinds, '(?:/|$)')
609 incmatch = matchfn(inckinds, '(?:/|$)')
610 excmatch = lambda fn: False
610 excmatch = never
611 if exc:
611 if exc:
612 dummy, exckinds, dummy = normalizepats(exc, 'glob')
612 dummy, exckinds, dummy = normalizepats(exc, 'glob')
613 excmatch = matchfn(exckinds, '(?:/|$)')
613 excmatch = matchfn(exckinds, '(?:/|$)')
General Comments 0
You need to be logged in to leave comments. Login now