ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/DBinterface.py
(Generate patch)

Comparing COMP/CRAB/python/DBinterface.py (file contents):
Revision 1.47 by mcinquil, Tue Sep 30 22:16:46 2008 UTC vs.
Revision 1.48 by spiga, Mon Nov 10 13:30:23 2008 UTC

# Line 334 | Line 334 | class DBinterface:
334                      rForJ = r
335                      break
336              ## Check the submission number and create new running jobs on the client side          
337 <            if rForJ.getAttribute('resubmit') != 'None' and (rForJ.getAttribute('status') not in ['Killed','Done']) :
337 >            if rForJ.getAttribute('resubmit') != 'None' and (rForJ.getAttribute('status') not in ['Killed','Done','Done (Failed)']) :
338                  if int(job.runningJob['submission']) < int(rForJ.getAttribute('resubmit')) + 1:
339                      nj_list.append(id)
340 <                    self.newRunJobs(nj_list)
340 >            if len(nj_list) > 0: self.newRunJobs(nj_list)
341  
342          task_new = self.getTask()
343  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines