[bitbake-devel] [PATCH] bb/tinfoil.py: import bb.msg

Robert Yang liezhi.yang at windriver.com
Sat May 27 10:21:48 UTC 2017


It uses bb.msg without import it, so there might be errors like:
AttributeError: 'module' object has no attribute 'logger_create'

We can't reproduce the problem everytime, I think that it depends on the order.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 lib/bb/tinfoil.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/tinfoil.py b/lib/bb/tinfoil.py
index 928333a..a0d8a16 100644
--- a/lib/bb/tinfoil.py
+++ b/lib/bb/tinfoil.py
@@ -33,6 +33,7 @@ import bb.remotedata
 from bb.cookerdata import CookerConfiguration, ConfigParameters
 from bb.main import setup_bitbake, BitBakeConfigParameters, BBMainException
 import bb.fetch2
+import bb.msg
 
 
 # We need this in order to shut down the connection to the bitbake server,
-- 
2.10.2




More information about the bitbake-devel mailing list