Skip to contentSkip to conversation

runqueue.py: Fix debug message to reference the correct task

PATCH New Richard Purdie 1 participant 1 message Nov 24, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqueue.py: Fix debug message to reference the correct task

lib/bb/runqueue.py +2 -1
index f5598ca..1800634 100644
@@ -1524,8 +1524,9 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
 
             for task in xrange(len(self.sq_revdeps)):
                 if task not in valid_new and task not in noexec:
+                    realtask = self.rqdata.runq_setscene[task]
                     logger.debug(2, 'No package found, so skipping setscene task %s',
-                                 self.rqdata.get_user_idstring(task))
+                                 self.rqdata.get_user_idstring(realtask))
                     self.task_failoutright(task)
 
         logger.info('Executing SetScene Tasks')