mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-07 08:54:01 -07:00
PEP8 E712 fixes (#21916)
This commit is contained in:
parent
5d39056379
commit
305c88700d
34 changed files with 103 additions and 123 deletions
|
@ -1005,7 +1005,7 @@ def validate_parameters(required_vars, valid_vars, module):
|
|||
if k in valid_vars:
|
||||
params[v] = module.params[k]
|
||||
else:
|
||||
if module.params.get(k) == False:
|
||||
if module.params.get(k) is False:
|
||||
pass
|
||||
else:
|
||||
module.fail_json(msg="Parameter %s is not valid for %s command" % (k, command))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue