From 66bef8f530412ed7fa8b85f21d168a59a4c77465 Mon Sep 17 00:00:00 2001 From: Kamil Mankowski Date: Mon, 11 Dec 2023 13:59:10 +0100 Subject: [PATCH] FIX: Return None when no changes in upgrade Fixes: #2433 --- intelmq/lib/upgrades.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intelmq/lib/upgrades.py b/intelmq/lib/upgrades.py index 1972a628a..7391e3c18 100644 --- a/intelmq/lib/upgrades.py +++ b/intelmq/lib/upgrades.py @@ -884,7 +884,7 @@ def v322_url_replacement(configuration, harmonization, dry_run, **kwargs): """ Replace deprecated url2fqdn expert with url expert. """ - changed = False + changed = None for bot_id, bot in configuration.items(): if bot_id == 'global': continue