Blame SOURCES/0020-fix-dbus-service-don-t-cleanup-config-for-old-set-AP.patch

1ae9b3
From 8d48dfee165ad41ed2d235dc3772c5b588a75521 Mon Sep 17 00:00:00 2001
1ae9b3
From: Eric Garver <eric@garver.life>
1ae9b3
Date: Mon, 4 May 2020 10:48:10 -0400
1ae9b3
Subject: [PATCH 20/45] fix(dbus): service: don't cleanup config for old set
1ae9b3
 APIs
1ae9b3
1ae9b3
This avoids them from unknowingly wiping away config that the old APIs
1ae9b3
are unaware of.
1ae9b3
1ae9b3
Fixes: 335a68c1bba5 ("fix: dbus: fix service API break")
1ae9b3
(cherry picked from commit 11bd8742158b2b3c9b0412a9ca1cb9ada7fd6fd7)
1ae9b3
(cherry picked from commit faa5822d8073336bed29e12b7cc73bedfa4811b7)
1ae9b3
---
1ae9b3
 src/firewall/core/fw_config.py | 2 --
1ae9b3
 1 file changed, 2 deletions(-)
1ae9b3
1ae9b3
diff --git a/src/firewall/core/fw_config.py b/src/firewall/core/fw_config.py
1ae9b3
index 8f29f0c416d2..35f623f2c8f1 100644
1ae9b3
--- a/src/firewall/core/fw_config.py
1ae9b3
+++ b/src/firewall/core/fw_config.py
1ae9b3
@@ -566,7 +566,6 @@ class FirewallConfig(object):
1ae9b3
 
1ae9b3
         if obj.builtin:
1ae9b3
             x = copy.copy(obj)
1ae9b3
-            x.cleanup()
1ae9b3
             x.import_config(conf_dict)
1ae9b3
             x.path = config.ETC_FIREWALLD_SERVICES
1ae9b3
             x.builtin = False
1ae9b3
@@ -576,7 +575,6 @@ class FirewallConfig(object):
1ae9b3
             service_writer(x)
1ae9b3
             return x
1ae9b3
         else:
1ae9b3
-            obj.cleanup()
1ae9b3
             obj.import_config(conf_dict)
1ae9b3
             service_writer(obj)
1ae9b3
             return obj
1ae9b3
-- 
1ae9b3
2.27.0
1ae9b3