From b3580a5bd41f7a094bdf7eda5bbdce765510eb19 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Wed, 17 Apr 2024 11:42:12 -0400 Subject: [PATCH] * Wed Apr 17 2024 Jean-Philippe Pialasse 11.0.0-9.sme - fix RuntimeError: dictionary changed size during iteration [SME: 12633] --- .../usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py | 2 +- smeserver-update.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 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 292650c..890d39f 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,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: diff --git a/smeserver-update.spec b/smeserver-update.spec index f0a369c..65be882 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 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 11.0.0-9.sme +- fix RuntimeError: dictionary changed size during iteration [SME: 12633] + * Tue Apr 16 2024 Jean-Philippe Pialasse 11.0.0-8.sme - fix python error in dnf plugin [SME: 12631]