mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
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:
committed by
John R Barker
parent
c57a7f05e1
commit
10cd2cd1b7
@@ -150,7 +150,8 @@ def map_obj_to_commands(want, have, module):
|
||||
commands = list()
|
||||
state = module.params['state']
|
||||
|
||||
def needs_update(x): return want.get(x) is not None and (want.get(x) != have.get(x))
|
||||
def needs_update(x):
|
||||
return want.get(x) is not None and (want.get(x) != have.get(x))
|
||||
|
||||
if state == 'absent':
|
||||
if have['hostname'] != 'Router':
|
||||
|
||||
Reference in New Issue
Block a user