aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authortarek <none@none>2009-07-21 09:59:32 +0200
committertarek <none@none>2009-07-21 09:59:32 +0200
commite6684119501416733ff9c824f5e3d90cc8b75b0f (patch)
tree123282420cb44e365ef03d1a6b22b872137383cf /setuptools/package_index.py
parentd3ba8f0b0453488d8dea19c58de696b9edb7dc08 (diff)
downloadexternal_python_setuptools-e6684119501416733ff9c824f5e3d90cc8b75b0f.tar.gz
external_python_setuptools-e6684119501416733ff9c824f5e3d90cc8b75b0f.tar.bz2
external_python_setuptools-e6684119501416733ff9c824f5e3d90cc8b75b0f.zip
The User-Agent is also changed to Distribute
--HG-- branch : distribute extra : rebase_source : 7a440abb08d1202a09ea2a0e46cac2568df2c759
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
)