From 9864393fc65cbcff68f8be50352ca58666a66591 Mon Sep 17 00:00:00 2001 From: Andrew Erickson Date: Tue, 26 Feb 2019 22:38:35 +0000 Subject: [PATCH] Bug 1530846: fix issue when installing hostutils r=gbrown Per https://pythonhosted.org/six/index.html, urlopen resides in urllib.request. Differential Revision: https://phabricator.services.mozilla.com/D21277 --HG-- extra : moz-landing-system : lando --- testing/mozbase/mozrunner/mozrunner/devices/android_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/mozbase/mozrunner/mozrunner/devices/android_device.py b/testing/mozbase/mozrunner/mozrunner/devices/android_device.py index 69709369f86d..f1eb14d19872 100644 --- a/testing/mozbase/mozrunner/mozrunner/devices/android_device.py +++ b/testing/mozbase/mozrunner/mozrunner/devices/android_device.py @@ -827,7 +827,7 @@ def _log_info(text): def _download_file(url, filename, path): _log_debug("Download %s to %s/%s..." % (url, path, filename)) - f = urllib.urlopen(url) + f = urllib.request.urlopen(url) if not os.path.isdir(path): try: os.makedirs(path)