summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/manifestupdate.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 15:11:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 15:11:27 +0000
commitf3bcaf9f88aad2c423ebcd61121562f9834187d4 (patch)
treef22238c29b57707b645a350940e3e9bdf3ce1f5d /testing/web-platform/manifestupdate.py
parentAdding debian version 115.7.0esr-1~deb12u1. (diff)
downloadfirefox-esr-f3bcaf9f88aad2c423ebcd61121562f9834187d4.tar.xz
firefox-esr-f3bcaf9f88aad2c423ebcd61121562f9834187d4.zip
Merging upstream version 115.8.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/manifestupdate.py')
-rw-r--r--testing/web-platform/manifestupdate.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/web-platform/manifestupdate.py b/testing/web-platform/manifestupdate.py
index 79b7f1ae56..f8f9d08cb9 100644
--- a/testing/web-platform/manifestupdate.py
+++ b/testing/web-platform/manifestupdate.py
@@ -5,13 +5,13 @@
import argparse
import errno
import hashlib
-import imp
import os
import sys
import manifestdownload
import six
from mach.util import get_state_dir
+from mozfile import load_source
from mozlog.structured import commandline
from six.moves import configparser
from wptrunner import wptcommandline
@@ -21,9 +21,7 @@ manifest = None
def do_delayed_imports(wpt_dir):
global manifest
- imp.load_source(
- "localpaths", os.path.join(wpt_dir, "tests", "tools", "localpaths.py")
- )
+ load_source("localpaths", os.path.join(wpt_dir, "tests", "tools", "localpaths.py"))
sys.path.insert(0, os.path.join(wpt_dir, "tools", "manifest"))
import manifest