aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-03-17 18:05:54 +0000
committerPJ Eby <distutils-sig@python.org>2006-03-17 18:05:54 +0000
commitd5309081b92d1a6c1cc5565fb84a9e4c367e43f9 (patch)
treee54afa9100f7705d1c718f416aa89ccb5b14744c /setuptools/package_index.py
parent5393f13525c33abcde2893fc0793a9db0aa03373 (diff)
downloadexternal_python_setuptools-d5309081b92d1a6c1cc5565fb84a9e4c367e43f9.tar.gz
external_python_setuptools-d5309081b92d1a6c1cc5565fb84a9e4c367e43f9.tar.bz2
external_python_setuptools-d5309081b92d1a6c1cc5565fb84a9e4c367e43f9.zip
Fix a problem with fetch() method backward compatibility.
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043122
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 ad996e57..3d858e77 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -437,7 +437,7 @@ class PackageIndex(Environment):
``location`` of the downloaded distribution instead of a distribution
object.
"""
- dist = self.fetch_dist(requirement,tmpdir,force_scan,source)
+ dist = self.fetch_distribution(requirement,tmpdir,force_scan,source)
if dist is not None:
return dist.location
return None