summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-21 10:44:34 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-21 10:44:34 +0000
commit867b01c3ca37b37a578183f671d4fd2fbbed4fd4 (patch)
tree851b81f5fdd80e0680c0a3f9733b73c9c8783e93 /bitbake/lib/bb
parentc69797d89c988164cbfde6436e790ea0fa5cdbc0 (diff)
downloadopenembedded-core-867b01c3ca37b37a578183f671d4fd2fbbed4fd4.tar.gz
openembedded-core-867b01c3ca37b37a578183f671d4fd2fbbed4fd4.tar.bz2
openembedded-core-867b01c3ca37b37a578183f671d4fd2fbbed4fd4.zip
bitbake/__init__.py: Fix bb.plain and bb.warn function, initial patch from Petri Lehtinen <petri.lehtinen+bitbake-dev@inoi.fi>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index f2f8f656d8..aa0c6de311 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -98,7 +98,7 @@ class MalformedUrl(Exception):
#######################################################################
def plain(*args):
- bb.msg.warn(''.join(args))
+ bb.msg.plain(''.join(args))
def debug(lvl, *args):
bb.msg.debug(lvl, None, ''.join(args))
@@ -107,7 +107,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))