aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-03-03 23:51:00 +0000
committerPJ Eby <distutils-sig@python.org>2006-03-03 23:51:00 +0000
commitdc66bc4eb7cd84ba849eea2c652f795bc243265f (patch)
treebc1144492406e5170395fb183de13eb78696d3ad /setuptools/package_index.py
parent81ad30d96508ee69a3e7ec43ca8fa9856428e114 (diff)
downloadexternal_python_setuptools-dc66bc4eb7cd84ba849eea2c652f795bc243265f.tar.gz
external_python_setuptools-dc66bc4eb7cd84ba849eea2c652f795bc243265f.tar.bz2
external_python_setuptools-dc66bc4eb7cd84ba849eea2c652f795bc243265f.zip
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/package_index.py')
-rwxr-xr-xsetuptools/package_index.py2
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)