summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-25 11:09:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-12 09:13:39 +0100
commit6466692170789ee309d674525d7c61998483f9fe (patch)
treee074f5277f1fc63f8c68887482d8c83e9f060d91 /scripts
parent8856289fb615698b9c5bf68431cceee1ef80a1bf (diff)
downloadpoky-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')
-rw-r--r--scripts/lib/resulttool/resultutils.py2
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
16import json 16import json
17import scriptpath 17import scriptpath
18import copy 18import copy
19import urllib 19import urllib.request
20import posixpath 20import posixpath
21scriptpath.add_oe_lib_path() 21scriptpath.add_oe_lib_path()
22 22