aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/sdist.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/sdist.py')
-rwxr-xr-xsetuptools/command/sdist.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py
index b59cc390..04cbccdf 100755
--- a/setuptools/command/sdist.py
+++ b/setuptools/command/sdist.py
@@ -40,7 +40,7 @@ class re_finder(object):
path = self.postproc(path)
yield svn_utils.joinpath(dirname,path)
- def __call__(self, dirname=''):
+ def find(self, dirname=''):
path = svn_utils.joinpath(dirname, self.path)
if os.path.isfile(path):
@@ -50,6 +50,7 @@ class re_finder(object):
elif os.path.isdir(path):
for item in self.find(path):
yield item
+ __call__ = find
def _default_revctrl(dirname=''):