351 |
|
# Data alignment |
352 |
|
if rForJ.getAttribute('status') not in ['Created', 'Unknown'] and not\ |
353 |
|
(job.runningJob['statusScheduler'] == 'Killing' and rForJ.getAttribute('status')!='Killed') \ |
354 |
< |
and not (job.runningJob['statusScheduler'] in 'Submitting' and rForJ.getAttribute('status') in ['Killed','Aborted','Cleared']) : |
354 |
> |
and not (job.runningJob['statusScheduler'] in 'Submitting' and rForJ.getAttribute('status') in ['Killed','Cleared']) : |
355 |
|
# update the status |
356 |
|
common.logger.debug(3,"Updating DB status for job: " + str(id) + " @: " \ |
357 |
|
+ str(rForJ.getAttribute('status')) ) |