mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
tools: buildman: fix non-existing SafeConfigParser in Python 3.12+
SafeConfigParser was renamed back in Python 3.2 (yes, no typo) to ConfigParser[1], but it was still working as an alias until it got removed in 3.12[2]. [1] https://docs.python.org/3.8/whatsnew/3.2.html#configparser [2] https://github.com/python/cpython/pull/92503 Cc: Quentin Schulz <foss+uboot@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
This commit is contained in:
parent
24adbee344
commit
341e8a6c7c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ def setup(fname=''):
|
|||
global settings
|
||||
global config_fname
|
||||
|
||||
settings = configparser.SafeConfigParser()
|
||||
settings = configparser.ConfigParser()
|
||||
if fname is not None:
|
||||
config_fname = fname
|
||||
if config_fname == '':
|
||||
|
|
Loading…
Reference in a new issue