mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
modules: update code to python3 (#10904)
* modules: update code to python3 * pamd: rollback changes * add changelog frag * fix/improve assignments using generators * Update plugins/modules/launchd.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -194,7 +194,7 @@ def main():
|
||||
assigned_roles = []
|
||||
if module.params['assigned_roles']:
|
||||
assigned_roles = module.params['assigned_roles'].split(',')
|
||||
assigned_roles = filter(None, assigned_roles)
|
||||
assigned_roles = [_f for _f in assigned_roles if _f]
|
||||
state = module.params['state']
|
||||
db = ''
|
||||
if module.params['db']:
|
||||
|
||||
Reference in New Issue
Block a user