summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/manifestupdate.py
diff options
context:
space:
mode:
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