Skip to content
Snippets Groups Projects
Commit 341e8a6c authored by Quentin Schulz's avatar Quentin Schulz Committed by Tom Rini
Browse files

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: default avatarQuentin Schulz <quentin.schulz@theobroma-systems.com>
parent 24adbee3
No related branches found
No related tags found
No related merge requests found
......@@ -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 == '':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment