Commits

William Grzybowski  committed a743083

Fix postproc reference

  • Participants
  • Parent commits 5b1b03d
  • Branches postproc

Comments (0)

Files changed (1)

File setuptools/command/sdist.py

             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)