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

Comparing COMP/CRAB/python/GetOutput.py (file contents):
Revision 1.36 by mcinquil, Mon Sep 1 09:51:21 2008 UTC vs.
Revision 1.37 by fanzago, Fri Sep 5 16:49:29 2008 UTC

# Line 118 | Line 118 | class GetOutput(Actor):
118                  self.max_id=max(self.submission_id)
119                  if self.max_id > 1:
120                      for f in os.listdir(self.outDir):
121 <                        if (f.find(str(id)) != -1 ) and (f != file):
121 >                        if (f.find(str(id)) != -1 ) and (f != file) and f.find('Submission_'+str(id)) == -1:
122                              self.moveOutput(id, self.max_id, self.outDir, f)
123                      if self.log==1:
124                          for f in os.listdir(self.logDir):
125 <                            if f.find(str(id)) != -1:
125 >                            if f.find(str(id)) != -1 and f.find('Submission_'+str(id)) == -1:
126                                  self.moveOutput(id, self.max_id, self.logDir, f)
127                  cmd = 'tar zxvf ' + self.outDir + file + ' ' + '-C ' + self.outDir  
128                  cmd_out = runCommand(cmd)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines