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

Comparing COMP/CRAB/python/Killer.py (file contents):
Revision 1.9 by spiga, Thu May 29 23:24:04 2008 UTC vs.
Revision 1.10 by spiga, Mon Jun 2 16:24:48 2008 UTC

# Line 16 | Line 16 | class Killer(Actor):
16          task = common._db.getTask(self.range)
17          toBeKilled = []
18          for job  in task.jobs:
19 <           if ( job.runningJob['status'] in ['SS','R','S','SR']):
19 >           if ( job.runningJob['status'] in ['SS','R','S','SR','SW']):
20                 toBeKilled.append(job['jobId'])
21             else:
22                 common.logger.message("Not possible to kill Job #"+str(job['jobId'])+" : Status is "+str(job.runningJob['statusScheduler']))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines