summaryrefslogtreecommitdiffstats
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-22 00:31:49 +0100
commitee7cffefbfde83c3b453ba8ae72178ca9ca1435a (patch)
tree5577bbcc3059a8230d04703ae71a5bf51128d36c
parent02d88de4b5a0bda488a33bebd5c006d5ca0f3bca (diff)
downloadpoky-ee7cffefbfde83c3b453ba8ae72178ca9ca1435a.tar.gz
poky-ee7cffefbfde83c3b453ba8ae72178ca9ca1435a.tar.bz2
poky-ee7cffefbfde83c3b453ba8ae72178ca9ca1435a.zip
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>
-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
import json
import scriptpath
import copy
-import urllib
+import urllib.request
import posixpath
scriptpath.add_oe_lib_path()