mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +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/5627>
This commit is contained in:
parent
3dcb02ac64
commit
8041686539
1 changed files with 1 additions and 1 deletions
|
@ -2416,7 +2416,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