diff options
author | tarek <none@none> | 2009-07-21 09:59:32 +0200 |
---|---|---|
committer | tarek <none@none> | 2009-07-21 09:59:32 +0200 |
commit | e6684119501416733ff9c824f5e3d90cc8b75b0f (patch) | |
tree | 123282420cb44e365ef03d1a6b22b872137383cf /setuptools/package_index.py | |
parent | d3ba8f0b0453488d8dea19c58de696b9edb7dc08 (diff) | |
download | external_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-x | setuptools/package_index.py | 4 |
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 ) |