Merge pull request #27072 from rallytime/bp-26840

Back-port #26840 to 2015.8
This commit is contained in:
Justin Findlay 2015-09-11 16:35:52 -06:00
commit 71c12cbf46

View file

@ -238,8 +238,6 @@ def query(url,
if not auth:
if username and password:
auth = (username, password)
else:
auth = None
if agent == USERAGENT:
agent = '{0} http.query()'.format(agent)