Skip to content

Commit fbcf63a

Browse files
QSchulzmichalsimek
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]> State: upstream (341e8a6c7c09)
1 parent 60f65f2 commit fbcf63a

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)