Skip to content

Commit e10391c

Browse files
committed
fix(resources): submit options should go in the sub file for Condor
1 parent 8f4439f commit e10391c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/DIRAC/Resources/Computing/BatchSystems

src/DIRAC/Resources/Computing/BatchSystems/Condor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,15 @@ def submitJob(self, **kwargs):
157157
holdReasonSubcode=HOLD_REASON_SUBCODE,
158158
daysToKeepRemoteLogs=1,
159159
scheddOptions="",
160-
extraString="",
160+
extraString=submitOptions,
161161
pilotStampList=",".join(stamps),
162162
)
163163
)
164164

165165
jdlFile.flush()
166166

167167
cmd = "%s; " % preamble if preamble else ""
168-
cmd += "condor_submit %s %s" % (submitOptions, jdlFile.name)
168+
cmd += "condor_submit %s" % jdlFile.name
169169
sp = subprocess.Popen(
170170
cmd,
171171
shell=True,

0 commit comments

Comments
 (0)