changeset 7430:f0a3e87c810d

util: use existing never() instead of custom lambda
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 27 Nov 2008 00:57:32 +0100
parents dbc40381620e
children 3d827cc616b6
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Thu Nov 27 00:57:31 2008 +0100
+++ b/mercurial/util.py	Thu Nov 27 00:57:32 2008 +0100
@@ -607,7 +607,7 @@
     if inc:
         dummy, inckinds, dummy = normalizepats(inc, 'glob')
         incmatch = matchfn(inckinds, '(?:/|$)')
-    excmatch = lambda fn: False
+    excmatch = never
     if exc:
         dummy, exckinds, dummy = normalizepats(exc, 'glob')
         excmatch = matchfn(exckinds, '(?:/|$)')