aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 8321eece..e601cc15 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -141,8 +141,8 @@ def find_external_links(url, page):
if match:
yield urlparse.urljoin(url, htmldecode(match.group(1)))
-user_agent = "Python-urllib/%s setuptools/%s" % (
- urllib2.__version__, require('setuptools')[0].version
+user_agent = "Python-urllib/%s distribute/%s" % (
+ urllib2.__version__, require('distribute')[0].version
)