From: Petri Lehtinen <[email protected]>

bb.msg.warn() takes two required args instead of three (like
bb.msg.note() and bb.msg.debug()).
---

The plain() function a few lines up is also wrong, it passes too few
arguments to bb.msg.warn(). I can't really fix it because I don't know
what its purpose is.

 bitbake/lib/bb/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index 594be20..1790f87 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -106,7 +106,7 @@ def note(*args):
     bb.msg.note(1, None, ''.join(args))
 
 def warn(*args):
-    bb.msg.warn(1, None, ''.join(args))
+    bb.msg.warn(None, ''.join(args))
 
 def error(*args):
     bb.msg.error(None, ''.join(args))
-- 
1.6.0.4

_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to