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

Comparing COMP/CRAB/python/Publisher.py (file contents):
Revision 1.33 by slacapra, Wed Jun 10 13:31:42 2009 UTC vs.
Revision 1.34 by slacapra, Wed Jun 10 14:00:44 2009 UTC

# Line 33 | Line 33 | class Publisher(Actor):
33          if (not cfg_params.has_key('USER.copy_data') or int(cfg_params['USER.copy_data']) != 1 ) or \
34              (not cfg_params.has_key('USER.publish_data') or int(cfg_params['USER.publish_data']) != 1 ):
35              msg  = 'You can not publish data because you did not selected \n'
36 <            msg += '\t*** copy_data = 1 or publish_data = 1  *** in the crab.cfg file'
36 >            msg += '\t*** copy_data = 1 and publish_data = 1  *** in the crab.cfg file'
37 >            raise CrabException(msg)
38  
39          if not cfg_params.has_key('CMSSW.pset'):
40              raise CrabException('Cannot publish output data, because you did not specify the psetname in [CMSSW] of your crab.cfg file')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines