* 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:
Jean-Philippe Pialasse 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:

View File

@ -2,7 +2,7 @@
Summary: Koozali SME Server rpm updater
Name: %{name}
%define version 11.0.0
%define release 8
%define release 9
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@ -68,6 +68,9 @@ mkdir -p root/etc/yum.smerepos.d
%changelog
* Wed Apr 17 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-9.sme
- fix RuntimeError: dictionary changed size during iteration [SME: 12633]
* Tue Apr 16 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-8.sme
- fix python error in dnf plugin [SME: 12631]