diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-25 11:09:11 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-12 09:13:39 +0100 |
| commit | 6466692170789ee309d674525d7c61998483f9fe (patch) | |
| tree | e074f5277f1fc63f8c68887482d8c83e9f060d91 /scripts/lib | |
| parent | 8856289fb615698b9c5bf68431cceee1ef80a1bf (diff) | |
| download | poky-6466692170789ee309d674525d7c61998483f9fe.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: ef6aacb0ed543c78172ae5af933eee32ac70e602)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
| -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 | ||
