Skip to content

Commit 341e8a6

Browse files
QSchulztrini
authored andcommitted
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] python/cpython#92503 Cc: Quentin Schulz <foss+uboot@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
1 parent 24adbee commit 341e8a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/buildman/bsettings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def setup(fname=''):
1616
global settings
1717
global config_fname
1818

19-
settings = configparser.SafeConfigParser()
19+
settings = configparser.ConfigParser()
2020
if fname is not None:
2121
config_fname = fname
2222
if config_fname == '':

0 commit comments

Comments
 (0)