1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 07:51:50 +00:00

replace list.copy with 2.x compatible syntax

This commit is contained in:
Jakub Danek 2025-09-25 16:18:50 +02:00
parent be75bc9259
commit 28005c10cb

View file

@ -301,7 +301,7 @@ def main():
# - to_update: keys missing or with different values
# - to_remove: keys existing in current state but not in desired
to_update = []
to_remove = old_overrides.copy()
to_remove = list(old_overrides)
# Mark updates and remove matched ones from to_remove
for record in desired_overrides: