summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-12-25 10:34:02 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-12-25 10:34:02 +0000
commit0547285a85dbcd363949dcc1afb1586dee833c95 (patch)
tree89fb9747158a662cd00eeb76eb6dbbfe0340df49
parent713399c5c9cee60272698cb2ee55efd8f666100f (diff)
downloadpython-setuptools-bitbucket-0547285a85dbcd363949dcc1afb1586dee833c95.tar.gz
Fix postproc reference
-rwxr-xr-xsetuptools/command/sdist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py
index 6249e75c..77a3852b 100755
--- a/setuptools/command/sdist.py
+++ b/setuptools/command/sdist.py
@@ -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)