mirror of
https://git.yoctoproject.org/poky
synced 2026-04-13 14:02:21 +02:00
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>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user