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.1 by slacapra, Fri Apr 11 14:54:41 2008 UTC vs.
Revision 1.2 by spiga, Mon Apr 14 16:36:31 2008 UTC

# Line 22 | Line 22 | class Killer(Actor):
22              if id not in  common._db.nJobs("list"):
23                  common.logger.message("Warning: job # "+str(id)+" doesn't exists! Not possible to kill it.")
24              else:
25 <                if ( jStatus[id-1] in ['SS','R','SA']):
25 >                if ( jStatus[id-1] in ['SS','R']):
26                      toBeKilled.append(id)
27                  else:
28                      common.logger.message("Not possible to kill Job #"+str(id)+" : Status is "+jStatus[id-1])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines