mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
In py3, dict.keys() is a view and not a copy of the dicts keys, so attempting to delete items from the dict while iterating over the keys results int RuntimeError: dictionary changed size during iteration Resolve by casting .keys() to a list() type. |
||
---|---|---|
.. | ||
action | ||
cache | ||
callback | ||
connection | ||
filter | ||
lookup | ||
shell | ||
strategy | ||
test | ||
vars | ||
__init__.py |