Skip to content

Commit afdb076

Browse files
QSchulzpatrickdelaunay
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 <[email protected]> Signed-off-by: Quentin Schulz <[email protected]> (cherry picked from commit 341e8a6) Change-Id: I5897550cc6b995163cbc260c331a2408f122725e Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/u-boot/+/383855 Tested-by: Patrice CHOTARD <[email protected]> Reviewed-by: Patrice CHOTARD <[email protected]> ACI: CITOOLS <[email protected]> Domain-Review: Patrice CHOTARD <[email protected]>
1 parent d790082 commit afdb076

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)