[oe-commits] [bitbake] 01/08: fetch2: Fix missing logger import in repo fetcher

git at git.openembedded.org git at git.openembedded.org
Mon Dec 4 17:25:00 UTC 2017


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

rpurdie pushed a commit to branch 1.36
in repository bitbake.

commit 7ae321a9ede9fb0ee1a0794aa22815a593d1568d
Author: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
AuthorDate: Mon Oct 23 09:13:00 2017 +0300

    fetch2: Fix missing logger import in repo fetcher
    
    After cleaning deprecated API usage repo fetcher is missing
    logger as it was indirectly imported via deprecated bb.data.
    Fix this by importing logger directly.
    
    Fixes: 9752fd1c10b8 ("fetch2: don't use deprecated bb.data APIs")
    
    Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    (cherry picked from commit f8e027d26603db2f1fe757dca767ea35d95174c7)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/fetch2/repo.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/fetch2/repo.py b/lib/bb/fetch2/repo.py
index 1be91cc..c22d9b5 100644
--- a/lib/bb/fetch2/repo.py
+++ b/lib/bb/fetch2/repo.py
@@ -27,6 +27,7 @@ import os
 import bb
 from   bb.fetch2 import FetchMethod
 from   bb.fetch2 import runfetchcmd
+from   bb.fetch2 import logger
 
 class Repo(FetchMethod):
     """Class to fetch a module or modules from repo (git) repositories"""

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


More information about the Openembedded-commits mailing list