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)