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

View File

@ -2,7 +2,7 @@
Summary: Koozali SME Server rpm updater
Name: %{name}
%define version 11.0.0
%define release 9
%define release 10
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@ -68,7 +68,7 @@ mkdir -p root/etc/yum.smerepos.d
%changelog
* Wed Apr 17 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-9.sme
* Thu Apr 18 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-10.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