aboutsummaryrefslogtreecommitdiff
path: root/lib
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:14 +0000
commitf8e027d26603db2f1fe757dca767ea35d95174c7 (patch)
treecb811e759470576c43f749e0f1fb59256aae7252 /lib
parentd72c1a91c261d78004d80e2fe5634f0e5f1ef947 (diff)
downloadbitbake-f8e027d26603db2f1fe757dca767ea35d95174c7.zip
bitbake-f8e027d26603db2f1fe757dca767ea35d95174c7.tar.gz
bitbake-f8e027d26603db2f1fe757dca767ea35d95174c7.tar.bz2
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>
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 1be91cc..c22d9b5 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"""