Manually fix issues that autopep8 introduced

* iam.py 161 -> 160 chars
* lamba -> single line function -> multiline function

Avoid redefining key

iam line length

iam.py now clean
This commit is contained in:
John Barker 2017-12-07 17:41:31 +00:00 committed by John R Barker
parent c57a7f05e1
commit 10cd2cd1b7
11 changed files with 31 additions and 26 deletions

View file

@ -134,9 +134,11 @@ def map_obj_to_commands(want, have, module):
commands = list()
state = module.params['state']
def needs_update(x): return want.get(x) and (want.get(x) != have.get(x))
def needs_update(x):
return want.get(x) and (want.get(x) != have.get(x))
def difference(x, y, z): return [item for item in x[z] if item not in y[z]]
def difference(x, y, z):
return [item for item in x[z] if item not in y[z]]
def remove(cmd, commands, vrf=None):
if vrf: