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:24 +0000 |
commit | 792359e9599fce4a76abe0244be02761be888f6f (patch) | |
tree | b979f1f70beffff423e3f92cd63ab6b2e60decdc /bitbake/lib/bb/fetch2 | |
parent | f8ea81129d064c30ded67eee398ee2135a309c53 (diff) | |
download | poky-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.py | 1 |
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 | |||
27 | import bb | 27 | import bb |
28 | from bb.fetch2 import FetchMethod | 28 | from bb.fetch2 import FetchMethod |
29 | from bb.fetch2 import runfetchcmd | 29 | from bb.fetch2 import runfetchcmd |
30 | from bb.fetch2 import logger | ||
30 | 31 | ||
31 | class Repo(FetchMethod): | 32 | class 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""" |