diff options
author | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | 2017-10-23 09:13:00 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-07 13:41:14 +0000 |
commit | f8e027d26603db2f1fe757dca767ea35d95174c7 (patch) | |
tree | cb811e759470576c43f749e0f1fb59256aae7252 | |
parent | d72c1a91c261d78004d80e2fe5634f0e5f1ef947 (diff) | |
download | bitbake-contrib-f8e027d26603db2f1fe757dca767ea35d95174c7.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>
-rw-r--r-- | lib/bb/fetch2/repo.py | 1 |
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""" |