Show More
@@ -1907,7 +1907,7 b' class localrepository(object):' | |||
|
1907 | 1907 | # Wrap old filters not supporting keyword arguments |
|
1908 | 1908 | if not pycompat.getargspec(fn)[2]: |
|
1909 | 1909 | oldfn = fn |
|
1910 | fn = lambda s, c, **kwargs: oldfn(s, c) | |
|
1910 | fn = lambda s, c, oldfn=oldfn, **kwargs: oldfn(s, c) | |
|
1911 | 1911 | fn.__name__ = 'compat-' + oldfn.__name__ |
|
1912 | 1912 | l.append((mf, fn, params)) |
|
1913 | 1913 | self._filterpats[filter] = l |
General Comments 0
You need to be logged in to leave comments.
Login now