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:
parent
be75bc9259
commit
28005c10cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue