From: Chris Larson Date: Wed, 15 Dec 2010 02:08:06 +0000 (-0500) Subject: runqueue: fix check_stamp_task call in chck_stamp_fn X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49e06bba60169f7511f385f438859d982ee1c99e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git runqueue: fix check_stamp_task call in chck_stamp_fn Signed-off-by: Chris Larson --- diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 32939cdd652..f84d9aa368d 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1226,12 +1226,12 @@ class runQueueTaskCompleted(runQueueEvent): self.message = "Task %s completed (%s)" % (task, self.taskstring) def check_stamp_fn(fn, taskname, d): - rq = bb.data.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY", d) + rqexe = bb.data.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY", d) fn = bb.data.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY2", d) - fnid = rq.rqdata.taskData.getfn_id(fn) - taskid = rq.rqdata.get_task_id(fnid, taskname) + fnid = rqexe.rqdata.taskData.getfn_id(fn) + taskid = rqexe.rqdata.get_task_id(fnid, taskname) if taskid is not None: - return rq.check_stamp_task(taskid) + return rqexe.rq.check_stamp_task(taskid) return None class runQueuePipe():