aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>2017-10-23 09:13:00 +0300
committerArmin Kuster <akuster808@gmail.com>2017-11-09 12:44:06 -0800
commit08fe58278f93258b50cc67234a50d6a5b887bcb8 (patch)
tree913d67eafcec29cea986eebe2a458cf0a014f66c /lib
parent2a931d5e4ac092ce275f3a51e22b802689f511e6 (diff)
downloadbitbake-contrib-08fe58278f93258b50cc67234a50d6a5b887bcb8.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>
Diffstat (limited to 'lib')
-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"""