mercurial/match.py
changeset 6834 cbdfd08eabc9
parent 6604 98b6e6f0e49b
child 8152 08e1baf924ca
--- a/mercurial/match.py	Tue Jul 22 13:03:29 2008 -0500
+++ b/mercurial/match.py	Tue Jul 22 13:03:31 2008 -0500
@@ -6,10 +6,10 @@
         self._cwd = cwd
         self._files = files
         self._fmap = dict.fromkeys(files)
-        self._matchfn = mf
+        self.matchfn = mf
         self._anypats = ap
     def __call__(self, fn):
-        return self._matchfn(fn)
+        return self.matchfn(fn)
     def __iter__(self):
         for f in self._files:
             yield f