From: Quentin Schulz Date: Tue, 23 Jan 2024 17:57:01 +0000 (+0100) Subject: tools: buildman: fix non-existing SafeConfigParser in Python 3.12+ X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=341e8a6c7c09112a872d19f855fefa671df40eb7;p=u-boot.git 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 Signed-off-by: Quentin Schulz --- diff --git a/tools/buildman/bsettings.py b/tools/buildman/bsettings.py index f7f8276e62..e225ac2ca0 100644 --- a/tools/buildman/bsettings.py +++ b/tools/buildman/bsettings.py @@ -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 == '':