mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 16:34:02 -07:00
PEP8 E712 fixes (#21916)
This commit is contained in:
parent
5d39056379
commit
305c88700d
34 changed files with 103 additions and 123 deletions
|
@ -173,7 +173,7 @@ def create_meter(module, name, apiid, apikey):
|
|||
except IOError:
|
||||
# Now download the file...
|
||||
rc = download_request(module, name, apiid, apikey, cert_type)
|
||||
if rc == False:
|
||||
if rc is False:
|
||||
module.fail_json("Download request for " + cert_type + ".pem failed")
|
||||
|
||||
return 0, "Meter " + name + " created"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue