summaryrefslogtreecommitdiffstats
path: root/scripts/lib/resulttool/resultutils.py
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-04-26 10:09:07 +0100
commitd0d822d173e7662a083aed77565ca8153dd9b0b2 (patch)
tree11f8f9f75023575840ae7be768e520ca04227295 /scripts/lib/resulttool/resultutils.py
parent07d29e7cec4e03ef1063f29d03aaf54cdc331489 (diff)
downloadpoky-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.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