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

Comparing COMP/CRAB/python/multicrab.py (file contents):
Revision 1.13 by slacapra, Mon Jun 8 14:52:38 2009 UTC vs.
Revision 1.14 by slacapra, Mon Jun 8 16:39:34 2009 UTC

# Line 215 | Line 215 | class MultiCrab:
215                  if self.flag_continue and options.has_key("-cfg"):
216                      del options['-cfg']
217                  pass
218 +            crab = None
219              try:
220                  crab = Crab(options)
221                  crab.run()
222 <                del crab
222 <                common.apmon.free()
222 >                crab.delete()
223                  print 'Log file is %s%s.log'%(common.work_space.logDir(),common.prog_name)  
224                  print '\n##############################  E N D  ####################################\n'
225              except CrabException, e:
226 +                crab.delete()
227                  print '\n' + common.prog_name + ': ' + str(e) + '\n'
228                  pass
229              pass
230          pass
231          
231        #common.apmon.free()
232  
233   ###########################################################################
234   if __name__ == '__main__':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines