Mercurial > libervia-desktop-kivy
diff cagou/core/config.py @ 491:203755bbe0fe
massive refactoring from camelCase -> snake_case. See backend commit log for more details
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 08 Apr 2023 13:44:32 +0200 |
parents | 3c9ba4a694ef |
children |
line wrap: on
line diff
--- a/cagou/core/config.py Sat Apr 08 13:34:55 2023 +0200 +++ b/cagou/core/config.py Sat Apr 08 13:44:32 2023 +0200 @@ -20,8 +20,8 @@ """This module keep an open instance of sat configuration""" from sat.tools import config -sat_conf = config.parseMainConf() +sat_conf = config.parse_main_conf() -def getConfig(section, name, default): - return config.getConfig(sat_conf, section, name, default) +def config_get(section, name, default): + return config.config_get(sat_conf, section, name, default)