* Wed Apr 17 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-9.sme

- fix RuntimeError: dictionary changed size during iteration [SME: 12633]
This commit is contained in:
2024-04-17 11:42:12 -04:00
parent b467a955d1
commit b3580a5bd4
2 changed files with 5 additions and 2 deletions

View File

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