aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command')
-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 e1112ff9..1bd07e65 100755
--- a/setuptools/command/sdist.py
+++ b/setuptools/command/sdist.py
@@ -38,7 +38,7 @@ class re_finder(object):
path = 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):
@@ -48,6 +48,7 @@ class re_finder(object):
elif os.path.isdir(path):
for item in self.find(path):
yield item
+ __call__ = find
def _default_revctrl(dirname=''):