Add documentation

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei 2024-06-28 17:10:50 +02:00
parent f77722d67f
commit de6e192fd4
No known key found for this signature in database
GPG Key ID: 6310BD29B0BFF98C

View File

@ -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):