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.60 by spiga, Fri May 29 17:11:39 2009 UTC vs.
Revision 1.61 by slacapra, Wed Jun 10 11:40:52 2009 UTC

# Line 391 | Line 391 | class DBinterface:
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 \
395 <                    j.runningJob['statusScheduler'] != 'Created':
394 >            if j.runningJob['submission'] > 1 or j.runningJob['state'] != 'Created':
395                  return False
396          return True
397  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines