Update http.py

fix for https://github.com/saltstack/salt/issues/21917
This commit is contained in:
Theodore Cowan 2015-09-01 22:34:59 -06:00 committed by rallytime
parent 0e7555089f
commit d0b9ececa4

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)