From e5eb257343887a312b4d79613739896f9924908d Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Mon, 2 Jun 2014 10:09:25 -0600 Subject: [PATCH] move conditionsl logic and remove parens per lint #13157 --- salt/pillar/foreman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/pillar/foreman.py b/salt/pillar/foreman.py index 90d78370a9..3eba3fdfb1 100644 --- a/salt/pillar/foreman.py +++ b/salt/pillar/foreman.py @@ -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(