mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
move conditionsl logic and remove parens per lint #13157
This commit is contained in:
parent
733cc94276
commit
e5eb257343
@ -80,7 +80,7 @@ def ext_pillar(minion_id, pillar, key=None, only=()):
|
||||
|
||||
headers = {'accept': 'version=' + str(api) + ',application/json'}
|
||||
|
||||
if verify and not (cafile is None):
|
||||
if verify and cafile is not None:
|
||||
verify = cafile
|
||||
|
||||
resp = requests.get(
|
||||
|
Loading…
Reference in New Issue
Block a user