[oe-commits] [bitbake] branch master updated: fetch2: Fix missing logger import in repo fetcher
git at git.openembedded.org
git at git.openembedded.org
Tue Nov 7 13:42:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository bitbake.
The following commit(s) were added to refs/heads/master by this push:
new f8e027d fetch2: Fix missing logger import in repo fetcher
f8e027d is described below
commit f8e027d26603db2f1fe757dca767ea35d95174c7
Author: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
AuthorDate: Mon Oct 23 09:13:00 2017 +0300
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 at epam.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/fetch2/repo.py | 1 +
1 file changed, 1 insertion(+)
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"""
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list