mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Linting!
This commit is contained in:
parent
2dd5904119
commit
b93dc5ef6c
@ -39,7 +39,7 @@ def query(method='GET', profile=None, url=None, path='api/v1',
|
||||
opts = {}
|
||||
|
||||
if profile is not None:
|
||||
creds = opts.get(profile, {}) or opts.get('pillar').get(profile,{})
|
||||
creds = opts.get(profile, {}) or opts.get('pillar').get(profile, {})
|
||||
else:
|
||||
creds = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user