[gnome-continuous-yocto/gnomeostree-3.28-rocko: 8245/8267] bitbake: fetch2: Fix missing logger import in repo fetcher



commit fd93e26f0d3ddd046a611d976c3c6cf8f58a3da2
Author: Oleksandr Andrushchenko <oleksandr_andrushchenko epam com>
Date:   Mon Oct 23 09:13:00 2017 +0300

    bitbake: 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")
    
    (Bitbake rev: 7ae321a9ede9fb0ee1a0794aa22815a593d1568d)
    
    Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko epam com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
    (cherry picked from commit f8e027d26603db2f1fe757dca767ea35d95174c7)
    Signed-off-by: Armin Kuster <akuster808 gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 bitbake/lib/bb/fetch2/repo.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bitbake/lib/bb/fetch2/repo.py b/bitbake/lib/bb/fetch2/repo.py
index 1be91cc..c22d9b5 100644
--- a/bitbake/lib/bb/fetch2/repo.py
+++ b/bitbake/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"""


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]