From 4adf87588bc5e96aaee5a8492ac3c828bad71e00 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Thu, 18 Apr 2024 14:59:05 -0400 Subject: [PATCH] * Thu Apr 18 2024 Jean-Philippe Pialasse 11.0.0-10.sme - fix RuntimeError: dictionary changed size during iteration [SME: 12633] --- root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py | 3 ++- smeserver-update.spec | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py b/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py index 890d39f..031dfef 100644 --- a/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py +++ b/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py @@ -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: diff --git a/smeserver-update.spec b/smeserver-update.spec index 65be882..1fd6a62 100644 --- a/smeserver-update.spec +++ b/smeserver-update.spec @@ -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 11.0.0-9.sme +* Thu Apr 18 2024 Jean-Philippe Pialasse 11.0.0-10.sme - fix RuntimeError: dictionary changed size during iteration [SME: 12633] * Tue Apr 16 2024 Jean-Philippe Pialasse 11.0.0-8.sme