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-04-26 10:05:23 +0100
commit9acc47236e2a9ac7f97f80040f5e508f23f01611 (patch)
tree9f5e8872d364abbd39b30413ebdd039e1fd2b275 /scripts
parentff578f4451a0a199202e576b647840910b4d3f59 (diff)
downloadopenembedded-core-contrib-9acc47236e2a9ac7f97f80040f5e508f23f01611.tar.gz
openembedded-core-contrib-9acc47236e2a9ac7f97f80040f5e508f23f01611.tar.bz2
openembedded-core-contrib-9acc47236e2a9ac7f97f80040f5e508f23f01611.zip
resultool/resultutils: Fix module import error
Fix AttributeError: module 'urllib' has no attribute 'request' when using remote http urls. 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
import json
import scriptpath
import copy
-import urllib
+import urllib.request
import posixpath
scriptpath.add_oe_lib_path()