summaryrefslogtreecommitdiffstats
path: root/bitbake
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:24:00 +0000
commitfd93e26f0d3ddd046a611d976c3c6cf8f58a3da2 (patch)
tree16bb8876395fb61ed05b4d7597d45ba36db05c6c /bitbake
parent15542ff2b3d22d2ede865c22033275e17e90df05 (diff)
downloadpoky-fd93e26f0d3ddd046a611d976c3c6cf8f58a3da2.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/repo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/repo.py b/bitbake/lib/bb/fetch2/repo.py
index 1be91cc698..c22d9b5578 100644
--- a/bitbake/lib/bb/fetch2/repo.py
+++ b/bitbake/lib/bb/fetch2/repo.py
@@ -27,6 +27,7 @@ import os
27import bb 27import bb
28from bb.fetch2 import FetchMethod 28from bb.fetch2 import FetchMethod
29from bb.fetch2 import runfetchcmd 29from bb.fetch2 import runfetchcmd
30from bb.fetch2 import logger
30 31
31class Repo(FetchMethod): 32class Repo(FetchMethod):
32 """Class to fetch a module or modules from repo (git) repositories""" 33 """Class to fetch a module or modules from repo (git) repositories"""