[oe-commits] [openembedded-core] 59/66: resultool/resultutils: Fix module import error

git at git.openembedded.org git at git.openembedded.org
Tue May 21 23:33:22 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch thud
in repository openembedded-core.

commit 170a233452539b0b6b8fc4db50cf69d848d1ac5b
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Apr 25 11:09:11 2019 +0100

    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 at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 scripts/lib/resulttool/resultutils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/resulttool/resultutils.py b/scripts/lib/resulttool/resultutils.py
index aab312d..8d17c7c 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()
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list