316 |
|
common.bossSession.getNewRunningInstance(job) |
317 |
|
job.runningJob['status'] = 'C' |
318 |
|
job.runningJob['statusScheduler'] = 'Created' |
319 |
+ |
job.runningJob['state'] = 'Created' |
320 |
|
common.bossSession.updateDB(task) |
321 |
|
return |
322 |
|
|
391 |
|
# FIXME temporary method to verify what kind of submission to perform towards the server |
392 |
|
def checkIfNeverSubmittedBefore(self): |
393 |
|
for j in self.getTask().jobs: |
394 |
< |
if j.runningJob['submission'] > 1 or j.runningJob['status'] != 'C' or \ |
394 |
< |
j.runningJob['statusScheduler'] != 'Created': |
394 |
> |
if j.runningJob['submission'] > 1 or j.runningJob['state'] != 'Created': |
395 |
|
return False |
396 |
|
return True |
397 |
|
|