Commit e6684119 authored by tarek's avatar tarek

The User-Agent is also changed to Distribute

--HG--
branch : distribute
extra : rebase_source : 7a440abb08d1202a09ea2a0e46cac2568df2c759
parent d3ba8f0b
...@@ -141,8 +141,8 @@ def find_external_links(url, page): ...@@ -141,8 +141,8 @@ def find_external_links(url, page):
if match: if match:
yield urlparse.urljoin(url, htmldecode(match.group(1))) yield urlparse.urljoin(url, htmldecode(match.group(1)))
user_agent = "Python-urllib/%s setuptools/%s" % ( user_agent = "Python-urllib/%s distribute/%s" % (
urllib2.__version__, require('setuptools')[0].version urllib2.__version__, require('distribute')[0].version
) )
......
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