1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

mod_utils/cloudengine: PEP8 compliancy (#24659)

- Make PEP8 compliant
This commit is contained in:
Dag Wieers 2017-05-30 19:28:02 +02:00 committed by John R Barker
parent b3b11fbce2
commit 8d962209f4
2 changed files with 3 additions and 2 deletions

View file

@ -261,7 +261,9 @@ def prepare_config(commands):
def prepare_commands(commands): def prepare_commands(commands):
""" prepare_commands """ """ prepare_commands """
jsonify = lambda x: '%s | json' % x def jsonify(x):
return '%s | json' % x
for cmd in to_list(commands): for cmd in to_list(commands):
if cmd.output == 'json': if cmd.output == 'json':
cmd.command_string = jsonify(cmd) cmd.command_string = jsonify(cmd)

View file

@ -23,7 +23,6 @@ lib/ansible/module_utils/avi.py
lib/ansible/module_utils/azure_rm_common.py lib/ansible/module_utils/azure_rm_common.py
lib/ansible/module_utils/basic.py lib/ansible/module_utils/basic.py
lib/ansible/module_utils/bigswitch_utils.py lib/ansible/module_utils/bigswitch_utils.py
lib/ansible/module_utils/cloudengine.py
lib/ansible/module_utils/connection.py lib/ansible/module_utils/connection.py
lib/ansible/module_utils/database.py lib/ansible/module_utils/database.py
lib/ansible/module_utils/docker_common.py lib/ansible/module_utils/docker_common.py