Disabling pylint for W0633, auth should only ever be a sequence at this location.

This commit is contained in:
Gareth J. Greenaway 2015-08-08 17:17:38 -07:00
parent 08eaca4fe4
commit 317a8ec75c

View file

@ -208,7 +208,7 @@ def query(url,
auth = None
else:
if not username and not password and isinstance(auth, tuple):
(username, password) = auth
(username, password) = auth # pylint: disable=W0633
if requests_lib is True:
sess = requests.Session()