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):
""" prepare_commands """
jsonify = lambda x: '%s | json' % x
def jsonify(x):
return '%s | json' % x
for cmd in to_list(commands):
if cmd.output == 'json':
cmd.command_string = jsonify(cmd)