From de6e192fd4eb545562a7204be2b4d65284057d79 Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Fri, 28 Jun 2024 17:10:50 +0200 Subject: [PATCH] Add documentation Signed-off-by: Gabor Mezei --- scripts/config.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/config.py b/scripts/config.py index 97d7555555..3ee21d1464 100755 --- a/scripts/config.py +++ b/scripts/config.py @@ -155,7 +155,11 @@ class Config: setting.active = enable def is_full_section(section): - """Is this section affected by "config.py full" and friends?""" + """Is this section affected by "config.py full" and friends? + + In a config file where the sections are not used the whole config file + is an empty section (with value None) and the whole file is affected. + """ return section is None or section.endswith('support') or section.endswith('modules') def realfull_adapter(_name, active, section):