Skip to contentSkip to conversation

bug fix for a typo in buildinfohelper

PATCH New Alex DAMIAN 1 participant 2 messages Nov 19, 2013

lore
Share & tools
lore
#0 lore raw

cover bug fix for a typo in buildinfohelper

From: Alexandru DAMIAN <[email protected]>

I'm sending a fix for a typo bug that somehow passed my testing.

This needs to be merged in both origin/master and origin/dora-toaster branches of poky.

Alexandru DAMIAN (1):
bitbake: toasterui: fix typo

 bitbake/lib/bb/ui/buildinfohelper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 toasterui: fix typo

From: Alexandru DAMIAN <[email protected]>

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

This patch fixes the typo.

---
 lib/bb/ui/buildinfohelper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/ui/buildinfohelper.py +1 -1
index 170ee12..2c9d77a 100644
@@ -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]
 
Signature · 1 line
1.8.3.2