ports/devel/py-setuptools/files/patch-setuptools_command_sdist
2013-12-25 12:19:57 +00:00

15 lines
673 B
Text

--- setuptools/command/sdist.py.orig 2013-12-24 08:01:18.439265244 +0000
+++ setuptools/command/sdist.py 2013-12-24 08:01:37.794263110 +0000
@@ -35,10 +35,10 @@
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)