Commit a6e11707 authored by Jason R. Coombs's avatar Jason R. Coombs

Merged in williambr/setuptools/postproc (pull request #31)

Fix postproc reference
parents fd9ba054 caa91ca5
......@@ -35,10 +35,10 @@ class re_finder(object):
f.close()
for match in self.pattern.finditer(data):
path = match.group(1)
if postproc:
if self.postproc:
#postproc used to be used when the svn finder
#was an re_finder for calling unescape
path = postproc(path)
path = self.postproc(path)
yield svn_utils.joinpath(dirname,path)
def __call__(self, dirname=''):
path = svn_utils.joinpath(dirname, self.path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment