Patchwork [bitbake-devel,1/1] toasterui: fix typo

login
register
mail settings
Submitter Alexandru DAMIAN
Date Nov. 19, 2013, 10:53 a.m.
Message ID <1384858419-12869-2-git-send-email-alexandru.damian@intel.com>
Download mbox | patch
Permalink /patch/61957/
State New
Headers show

Comments

Alexandru DAMIAN - Nov. 19, 2013, 10:53 a.m.
From: Alexandru DAMIAN <alexandru.damian@intel.com>

A typo in buildinfo helper leads to a bug where
information about tasks is not correctly stored.

This patch fixes the typo.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 lib/bb/ui/buildinfohelper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index 170ee12..2c9d77a 100644
--- a/lib/bb/ui/buildinfohelper.py
+++ b/lib/bb/ui/buildinfohelper.py
@@ -543,7 +543,7 @@  class BuildInfoHelper(object):
             task_information['disk_io'] = task_build_stats['disk_io']
             del self.internal_state[identifier]
 
-        if isinstance(event, (bb.runqueue.runQueueTaskFailed, bb.runCommand.sceneQueueTaskFailed)):
+        if isinstance(event, (bb.runqueue.runQueueTaskFailed, bb.runqueue.sceneQueueTaskFailed)):
             task_information['outcome'] = Task.OUTCOME_FAILED
             del self.internal_state[identifier]