Patchwork [bitbake-devel] hob/runningbuild: Add missing logging level argument

login
register
mail settings
Submitter Constantin Musca
Date Sept. 27, 2012, 10:49 a.m.
Message ID <1348742952-9110-1-git-send-email-constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/37341/
State New
Headers show

Comments

Constantin Musca - Sept. 27, 2012, 10:49 a.m.
[YOCTO #3170]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 bitbake/lib/bb/ui/crumbs/runningbuild.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Richard Purdie - Sept. 27, 2012, 3:44 p.m.
On Thu, 2012-09-27 at 13:49 +0300, Constantin Musca wrote:
> [YOCTO #3170]
> 
> Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
> ---
>  bitbake/lib/bb/ui/crumbs/runningbuild.py |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)


Merged to master, thanks.

Richard

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py
index 700fd65..b4d19b6 100644
--- a/bitbake/lib/bb/ui/crumbs/runningbuild.py
+++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py
@@ -374,7 +374,7 @@  class RunningBuild (gobject.GObject):
                 for reason in event._reasons:
                     msg += ("%s\n" % reason)
             self.emit("no-provider", msg)
-            self.emit("log", msg)
+            self.emit("log", "error", msg)
         elif isinstance(event, bb.event.LogExecTTY):
             icon = "dialog-warning"
             color = HobColors.WARNING