* Thu Apr 18 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-10.sme

- fix RuntimeError: dictionary changed size during iteration [SME: 12633]
This commit is contained in:
2024-04-18 14:59:05 -04:00
parent b3580a5bd4
commit 4adf87588b
2 changed files with 4 additions and 3 deletions

View File

@@ -437,7 +437,8 @@ class SMEServer(dnf.Plugin):
for act in ('navigation-conf','systemd-reload','systemd-default'):
global iter
iter = 0
for key in list(actionlist):
tmpactionlist = actionlist
for key in list(tmpactionlist):
if key.endswith(act):
iter += 1
if iter>1: