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

Comparing COMP/CRAB/python/KillerServer.py (file contents):
Revision 1.4 by farinafa, Wed Oct 3 09:24:34 2007 UTC vs.
Revision 1.5 by mcinquil, Fri Oct 5 14:04:38 2007 UTC

# Line 58 | Line 58 | class KillerServer(Actor):
58          file.close()
59          if self.range=='all':
60              subms = []
61 <        elif len(self.range)!=0:
62 <            subms = eval(subms)
63 <            for i in self.parsedRange:
64 <                if i in subms:
65 <                     subms.remove(i)
61 >        elif self.range != None and self.range != "":
62 >            if len(self.range)!=0:
63 >                subms = eval(subms)
64 >                for i in self.parsedRange:
65 >                    if i in subms:
66 >                        subms.remove(i)
67 >        
68          file = open(common.work_space.shareDir()+'/submit_directive','w')
69          file.write(str(subms))
70          file.close()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines