diff options
-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 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 |