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

Comparing COMP/CRAB/python/SubmitterServer.py (file contents):
Revision 1.38 by spiga, Tue May 20 20:48:08 2008 UTC vs.
Revision 1.39 by spiga, Tue May 20 20:49:11 2008 UTC

# Line 43 | Line 43 | class SubmitterServer( Submitter ):
43          check = self.checkIfCreate()
44  
45          if check == 0 :
46            isFirstSubmission = False
46  
47              self.taskuuid = str(common._db.queryTask('name'))
48              self.remotedir = os.path.join(self.storage_path, self.taskuuid)
49              self.moveProxy(self.dontMoveProxy)
50              
51              # check if it is the first submission  
52 <            n_createdJob = len(common._db.queryAttrRunJob({'status':'C'},'status'))
54 <            if n_createdJob == len(self.complete_List): isFirstSubmission = True
52 >            isFirstSubmission =  common._db.checkIfNeverSubmittedBefore()
53  
54              # standard submission to the server
55              self.performSubmission(isFirstSubmission)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines