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 |
|
|
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) ) |