Commits

Anonymous committed 9d6e35a

The User-Agent is also changed to Distribute

  • Participants
  • Parent commits 858a015

Comments (0)

Files changed (1)

File setuptools/package_index.py

             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
 )