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

Comparing COMP/CRAB/python/ServerCommunicator.py (file contents):
Revision 1.73 by fanzago, Thu Mar 3 12:23:18 2011 UTC vs.
Revision 1.74 by spiga, Mon Mar 28 10:02:26 2011 UTC

# Line 259 | Line 259 | class ServerCommunicator:
259      # Auxiliary methods
260   ###################################################
261  
262 <    ### FEDE for savannah 76950 ###
263 <    #def _createXMLcommand(self, taskUName, cmdSpec='status', rng='all', newTaskAddIns=False, flavour='analysis', type='fullySpecified',jobs='-1'):
264 <    def _createXMLcommand(self, taskUName, cmdSpec='status', rng='all', newTaskAddIns=False, type='fullySpecified',jobs='-1'):
262 >    def _createXMLcommand(self, taskUName, cmdSpec='status', rng='all', newTaskAddIns=False, flavour='analysis', type='fullySpecified',jobs='-1'):
263  
266        print "create XML command"
264          xmlString = ''
265          cfile = minidom.Document()
266  
# Line 275 | Line 272 | class ServerCommunicator:
272          node.setAttribute("Range", str(rng) )
273          node.setAttribute("TotJob", str(jobs) )
274          node.setAttribute("Scheduler", str(self.cfg_params['CRAB.scheduler']) )
278        #node.setAttribute("Flavour", str(flavour) )
279        node.setAttribute("Flavour", (self.cfg_params.get("USER.tasktype", 'analysis')))
275          node.setAttribute("Flavour", str(flavour) )
276          node.setAttribute("Type", str(type) )
277          node.setAttribute("ClientVersion", str(ver) )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines