From d5309081b92d1a6c1cc5565fb84a9e4c367e43f9 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Fri, 17 Mar 2006 18:05:54 +0000 Subject: Fix a problem with fetch() method backward compatibility. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043122 --- setuptools/package_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/package_index.py') 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 -- cgit v1.2.3