mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00: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):
|
def plain(*args):
|
||||||
bb.msg.warn(''.join(args))
|
bb.msg.plain(''.join(args))
|
||||||
|
|
||||||
def debug(lvl, *args):
|
def debug(lvl, *args):
|
||||||
bb.msg.debug(lvl, None, ''.join(args))
|
bb.msg.debug(lvl, None, ''.join(args))
|
||||||
@@ -107,7 +107,7 @@ def note(*args):
|
|||||||
bb.msg.note(1, None, ''.join(args))
|
bb.msg.note(1, None, ''.join(args))
|
||||||
|
|
||||||
def warn(*args):
|
def warn(*args):
|
||||||
bb.msg.warn(1, None, ''.join(args))
|
bb.msg.warn(None, ''.join(args))
|
||||||
|
|
||||||
def error(*args):
|
def error(*args):
|
||||||
bb.msg.error(None, ''.join(args))
|
bb.msg.error(None, ''.join(args))
|
||||||
|
|||||||
Reference in New Issue
Block a user