From 792359e9599fce4a76abe0244be02761be888f6f Mon Sep 17 00:00:00 2001 From: Oleksandr Andrushchenko Date: Mon, 23 Oct 2017 09:13:00 +0300 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/repo.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake') 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 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""" -- cgit v1.2.3-54-g00ecf