Files
freeipa/ipaserver/plugins
Stanislav Levin 24db4dc876 pylint: Fix modified-iterating-list
https://pylint.pycqa.org/en/latest/user_guide/messages/warning/modified-iterating-list.html:
> Emitted when items are added or removed to a list being iterated
through. Doing so can result in unexpected behaviour, that is why it is
preferred to use a copy of the list.

https://docs.python.org/3/tutorial/controlflow.html#for-statements:
> Code that modifies a collection while iterating over that same
collection can be tricky to get right. Instead, it is usually more
straight-forward to loop over a copy of the collection or to create a
new collection

Fixes: https://pagure.io/freeipa/issue/9278
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Stanislav Levin <slev@altlinux.org>
2023-01-10 08:30:58 +01:00
..
2010-12-20 17:19:53 -05:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2023-01-10 08:30:58 +01:00
2022-03-11 13:37:08 -05:00
2022-06-09 08:35:15 +02:00
2023-01-10 08:30:58 +01:00
2019-10-21 18:01:32 +11:00
2022-09-29 14:23:44 +02:00
2019-03-28 00:21:00 +01:00
2022-03-11 13:37:08 -05:00
2023-01-10 08:30:58 +01:00
2020-03-31 09:21:37 +03:00
2022-11-16 14:46:17 -05:00
2020-09-23 14:49:15 +02:00
2018-01-09 07:53:28 +01:00
2022-03-11 13:37:08 -05:00
2023-01-10 08:30:58 +01:00
2023-01-10 08:30:58 +01:00
2022-03-11 13:37:08 -05:00