aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>2017-10-23 09:13:00 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-04 17:22:01 +0000
commit7ae321a9ede9fb0ee1a0794aa22815a593d1568d (patch)
tree913d67eafcec29cea986eebe2a458cf0a014f66c
parent2a931d5e4ac092ce275f3a51e22b802689f511e6 (diff)
downloadbitbake-7ae321a9ede9fb0ee1a0794aa22815a593d1568d.tar.gz
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@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>
-rw-r--r--lib/bb/fetch2/repo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/fetch2/repo.py b/lib/bb/fetch2/repo.py
index 1be91cc69..c22d9b557 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"""