From 10464147a606c8b79ea0f44db4f7430e564948ee Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Thu, 18 Jul 2019 09:43:29 +1200 Subject: [PATCH] Remove global FORK_SET #1637 --- core/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/__init__.py b/core/__init__.py index be580388..e2436182 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -864,7 +864,6 @@ def configure_passwords_file(): def configure_sections(section): global SECTIONS global CATEGORIES - global FORK_SET # check for script-defied section and if None set to allow sections SECTIONS = CFG[ tuple(x for x in CFG if CFG[x].sections and CFG[x].isenabled()) @@ -873,7 +872,6 @@ def configure_sections(section): for section, subsections in SECTIONS.items(): CATEGORIES.extend([subsection for subsection in subsections if CFG[section][subsection].isenabled()]) CATEGORIES = list(set(CATEGORIES)) - FORK_SET = [] def configure_utility_locations():