From 1772930ac95921927078a86354509113e4d1cecd Mon Sep 17 00:00:00 2001 From: Sean Budd Date: Thu, 13 Jun 2024 15:08:51 +1000 Subject: [PATCH] Fix regression: make BASE_ONLY_SECTIONS no longer a frozen set --- source/config/__init__.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/source/config/__init__.py b/source/config/__init__.py index 33a76b3363b..83aec236e30 100644 --- a/source/config/__init__.py +++ b/source/config/__init__.py @@ -504,15 +504,18 @@ class ConfigManager(object): Changed settings are written to the most recently activated profile. """ - #: Sections that only apply to the base configuration; - #: i.e. they cannot be overridden in profiles. - BASE_ONLY_SECTIONS = frozenset({ + BASE_ONLY_SECTIONS = { "general", "update", "upgrade", "development", "addonStore", - }) + } + """ + Sections that only apply to the base configuration; + i.e. they cannot be overridden in profiles. + Note this set may be extended by add-ons. + """ def __init__(self): self.spec = confspec