PEP8 E712 fixes (#21916)

This commit is contained in:
Matt Martz 2017-02-24 16:49:43 -06:00 committed by GitHub
commit 305c88700d
34 changed files with 103 additions and 123 deletions

View file

@ -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"