diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-25 11:09:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-26 10:09:07 +0100 |
commit | d0d822d173e7662a083aed77565ca8153dd9b0b2 (patch) | |
tree | 11f8f9f75023575840ae7be768e520ca04227295 /scripts/lib/resulttool/resultutils.py | |
parent | 07d29e7cec4e03ef1063f29d03aaf54cdc331489 (diff) | |
download | poky-d0d822d173e7662a083aed77565ca8153dd9b0b2.tar.gz |
resultool/resultutils: Fix module import error
Fix AttributeError: module 'urllib' has no attribute 'request' when
using remote http urls.
(From OE-Core rev: 9acc47236e2a9ac7f97f80040f5e508f23f01611)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/resulttool/resultutils.py')
-rw-r--r-- | scripts/lib/resulttool/resultutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/resulttool/resultutils.py b/scripts/lib/resulttool/resultutils.py index aab312dd17..8d17c7cd65 100644 --- a/scripts/lib/resulttool/resultutils.py +++ b/scripts/lib/resulttool/resultutils.py | |||
@@ -16,7 +16,7 @@ import os | |||
16 | import json | 16 | import json |
17 | import scriptpath | 17 | import scriptpath |
18 | import copy | 18 | import copy |
19 | import urllib | 19 | import urllib.request |
20 | import posixpath | 20 | import posixpath |
21 | scriptpath.add_oe_lib_path() | 21 | scriptpath.add_oe_lib_path() |
22 | 22 | ||