mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5624>
This commit is contained in:
parent
bd4a9fde89
commit
b1f3722530
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue