summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
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-11-07 13:41:24 +0000
commit792359e9599fce4a76abe0244be02761be888f6f (patch)
treeb979f1f70beffff423e3f92cd63ab6b2e60decdc /bitbake/lib/bb/fetch2
parentf8ea81129d064c30ded67eee398ee2135a309c53 (diff)
downloadpoky-792359e9599fce4a76abe0244be02761be888f6f.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: f8e027d26603db2f1fe757dca767ea35d95174c7) Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-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"""