1
0
mirror of https://aur.archlinux.org/firedragon.git synced 2024-12-25 20:24:14 +00:00
firedragon/patch-python3.12-bug1874280.patch
GitLab CI 27ecdfd924 chore: update firedragon
This commit was automatically generated to reflect changes to this package in another repository.

The changelog for this package can be found at https://gitlab.com/garuda-linux/pkgbuilds/-/commits/main/firedragon.

Logs of the corresponding pipeline run can be found here: https://gitlab.com/garuda-linux/pkgbuilds/-/pipelines/1296278529.
2024-05-18 22:16:48 +00:00

31 lines
1.1 KiB
Diff

Bug 1874280 - use ConfigParser instead of SafeConfigParser for manifestupdate.py r=jgraham
Since our minimum supported Python version is 3.7, we can unconditionally
change to ConfigParser here.
Differential Revision: https://phabricator.services.mozilla.com/D198327
diff --git a/testing/web-platform/manifestupdate.py b/testing/web-platform/manifestupdate.py
--- a/testing/web-platform/manifestupdate.py
+++ b/testing/web-platform/manifestupdate.py
@@ -170,17 +170,17 @@ def ensure_manifest_directories(logger,
raise
elif not os.path.isdir(manifest_dir):
raise IOError("Manifest directory is a file")
def read_local_config(wpt_dir):
src_config_path = os.path.join(wpt_dir, "wptrunner.ini")
- parser = configparser.SafeConfigParser()
+ parser = configparser.ConfigParser()
success = parser.read(src_config_path)
assert src_config_path in success
return parser
def generate_config(logger, repo_root, wpt_dir, dest_path, force_rewrite=False):
"""Generate the local wptrunner.ini file to use locally"""
if not os.path.exists(dest_path):