dmwm / CRABServer

15 stars 38 forks source link

Remove HTCondorUtils.quote #4896

Open juztas opened 9 years ago

juztas commented 9 years ago

This is not needed anymore and it was only for older versions of condor. See: https://github.com/dmwm/CRABServer/pull/4889/files#r35642526

jmarra13 commented 9 years ago

Just to record, the following files should be changed.

jmsilva@crab3jms2 /data/user/CRABServer> grep -nir ' HTCondorUtils.quote' * src/python/HTCondorLocator.py:71: schedds = coll.query(htcondor.AdTypes.Schedd, 'regexp(%s, Name)' % HTCondorUtils.quote(info[0])) src/python/HTCondorLocator.py:89: schedds = coll.query(htcondor.AdTypes.Schedd, 'regexp(%s, Name)' % HTCondorUtils.quote(schedd)) src/python/TaskWorker/Actions/DagmanResubmitter.py:62: rootConst = "TaskType =?= \"ROOT\" && CRAB_ReqName =?= %s" % HTCondorUtils.quote(workflow) src/python/TaskWorker/Actions/DagmanSubmitter.py:248: rootConst = 'TaskType =?= "ROOT" && CRAB_ReqName =?= %s && (isUndefined(CRAB_Attempt) || CRAB_Attempt == 0)' % HTCondorUtils.quote(workflow) src/python/TaskWorker/Actions/DagmanKiller.py:186: rootConst = "TaskType =?= \"ROOT\" && CRAB_ReqName =?= %s" % HTCondorUtils.quote(self.workflow) src/python/TaskWorker/Actions/DagmanKiller.py:200: jobConst = "TaskType =!= \"ROOT\" && CRAB_ReqName =?= %s" % HTCondorUtils.quote(self.workflow) src/python/CRABInterface/HTCondorDataWorkflow.py:51: rootConst = 'TaskType =?= "ROOT" && CRAB_ReqName =?= %s && (isUndefined(CRAB_Attempt) || CRAB_Attempt == 0)' % HTCondorUtils.quote(workflow)