Commit d5309081 authored by PJ Eby's avatar PJ Eby

Fix a problem with fetch() method backward compatibility.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043122
parent 5393f135
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment