mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
lint fixes.
This commit is contained in:
parent
7046b84ac8
commit
08eaca4fe4
1 changed files with 2 additions and 1 deletions
|
@ -207,7 +207,8 @@ def query(url,
|
|||
else:
|
||||
auth = None
|
||||
else:
|
||||
(username, password) = auth
|
||||
if not username and not password and isinstance(auth, tuple):
|
||||
(username, password) = auth
|
||||
|
||||
if requests_lib is True:
|
||||
sess = requests.Session()
|
||||
|
|
Loading…
Add table
Reference in a new issue