mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
replace list(map(...)) with comprehension (#11590)
* replace `list(map(...))` with comprehension * add changelog frag
This commit is contained in:
parent
3194ed9d36
commit
ce5d5622b9
5 changed files with 51 additions and 52 deletions
|
|
@ -138,10 +138,6 @@ def get_option(option):
|
|||
return None
|
||||
|
||||
|
||||
def serialize_groups(groups):
|
||||
return list(map(str, groups))
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def inventory():
|
||||
r = InventoryModule()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue