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.65 by riahi, Fri Nov 6 14:25:09 2009 UTC vs.
Revision 1.66 by farinafa, Tue Dec 15 13:13:40 2009 UTC

# Line 410 | Line 410 | class DBinterface:
410                  return False
411          return True
412  
413 +    # Method to update arguments w.r.t. resubmission number in order to grant unique output
414 +    def updateResubAttribs(self, jobsL):
415 +        task = self.getTask(jobsL)
416 +        for j in task.jobs:
417 +            common.bossSession.getRunningInstance(j)
418 +            newArgs = "%d %d"%(j.runningJob['jobId'], j.runningJob['submission'])
419 +            j['arguments'] = newArgs
420 +            
421 +        common.bossSession.updateDB(task)
422 +        return
423 +
424  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines