From b1f372253011756299a4a20930c9bba8c110be74 Mon Sep 17 00:00:00 2001 From: Jordan Yelloz Date: Tue, 7 Nov 2023 11:42:19 -0700 Subject: [PATCH] gst-validate: Fixed compatibility with Python 3.12 config.readfp() was removed in python 3.12 and config.read_file() does the same thing and has been available since Python 3.2 Part-of: --- subprojects/gst-devtools/validate/launcher/baseclasses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-devtools/validate/launcher/baseclasses.py b/subprojects/gst-devtools/validate/launcher/baseclasses.py index 1e3b150cd8..3073e2e3e5 100644 --- a/subprojects/gst-devtools/validate/launcher/baseclasses.py +++ b/subprojects/gst-devtools/validate/launcher/baseclasses.py @@ -2426,7 +2426,7 @@ class ScenarioManager(Loggable): config = configparser.RawConfigParser() f = open(scenario_defs) - config.readfp(f) + config.read_file(f) for section in config.sections(): name = None