From c007761b4435c2fdcb29beedd42d6baec5ebc9bb Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Fri, 18 Mar 2016 13:01:51 +0000 Subject: [PATCH] Task #8887: typo fix --- .../RAtoOTDBTaskSpecificationPropagator/lib/rotspservice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SAS/ResourceAssignment/RAtoOTDBTaskSpecificationPropagator/lib/rotspservice.py b/SAS/ResourceAssignment/RAtoOTDBTaskSpecificationPropagator/lib/rotspservice.py index af5d8286d2e..84e534823e8 100755 --- a/SAS/ResourceAssignment/RAtoOTDBTaskSpecificationPropagator/lib/rotspservice.py +++ b/SAS/ResourceAssignment/RAtoOTDBTaskSpecificationPropagator/lib/rotspservice.py @@ -70,9 +70,9 @@ class RATaskStatusChangedListener(RADBBusListener): # check for status change, and call either onTaskScheduled or onTaskScheduled if old_task['status_id'] != new_task['status_id']: if new_task['status'] == 'scheduled': - self.onTaskScheduled(task['id'], task['otdb_id'], task['mom_id']) + self.onTaskScheduled(new_task['id'], new_task['otdb_id'], new_task['mom_id']) elif new_task['status'] == 'conflict': - self.onTaskScheduled(task['id'], task['otdb_id'], task['mom_id']) + self.onTaskScheduled(new_task['id'], new_task['otdb_id'], new_task['mom_id']) def onTaskScheduled(self, ra_id, otdb_id, mom_id): logger.info('onTaskScheduled: ra_id=%s otdb_id=%s mom_id=%s' % (ra_id, otdb_id, mom_id)) -- GitLab