summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/update/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/update/__init__.py')
-rw-r--r--testing/web-platform/update/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/web-platform/update/__init__.py b/testing/web-platform/update/__init__.py
index 47c6d36d95..66bb6f2ab6 100644
--- a/testing/web-platform/update/__init__.py
+++ b/testing/web-platform/update/__init__.py
@@ -4,15 +4,15 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-import imp
import os
import sys
+from mozfile import load_source
from mozlog import structuredlog
here = os.path.split(__file__)[0]
-imp.load_source(
+load_source(
"localpaths", os.path.join(here, os.pardir, "tests", "tools", "localpaths.py")
)