[bitbake-devel] [PATCH 1/4] fetch2/repo: Fix missing logger import in repo fetcher
Oleksandr Andrushchenko
andr2000 at gmail.com
Tue Oct 24 11:35:41 UTC 2017
From: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
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>
---
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 1be91cc698e3..c22d9b5578eb 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"""
--
2.7.4
More information about the bitbake-devel
mailing list