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-22 00:31:49 +0100 |
| commit | ee7cffefbfde83c3b453ba8ae72178ca9ca1435a (patch) | |
| tree | 5577bbcc3059a8230d04703ae71a5bf51128d36c /scripts/lib | |
| parent | 02d88de4b5a0bda488a33bebd5c006d5ca0f3bca (diff) | |
| download | poky-ee7cffefbfde83c3b453ba8ae72178ca9ca1435a.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: 170a233452539b0b6b8fc4db50cf69d848d1ac5b)
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 | ||
