diff options
| author | PJ Eby <distutils-sig@python.org> | 2006-03-03 23:51:00 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2006-03-03 23:51:00 +0000 |
| commit | dc66bc4eb7cd84ba849eea2c652f795bc243265f (patch) | |
| tree | bc1144492406e5170395fb183de13eb78696d3ad /setuptools | |
| parent | 81ad30d96508ee69a3e7ec43ca8fa9856428e114 (diff) | |
| download | python-setuptools-git-dc66bc4eb7cd84ba849eea2c652f795bc243265f.tar.gz | |
Don't recurse into subdirectories when scanning --find-links
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042822
Diffstat (limited to 'setuptools')
| -rwxr-xr-x | setuptools/package_index.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index c02f3b4e..ad996e57 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -182,7 +182,7 @@ class PackageIndex(Environment): self.warn("Not found: %s", url) return - if os.path.isdir(fn): + if os.path.isdir(fn) and not nested: path = os.path.realpath(fn) for item in os.listdir(path): self.process_filename(os.path.join(path,item), True) |
