Skip to content

Commit

Permalink
remove hack for now fixed HTC bug. Fix dmwm#8917 (dmwm#8918)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Feb 13, 2025
1 parent a137724 commit 93bc614
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/python/TaskWorker/Actions/DagmanResubmitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,9 @@ def executeInternal(self, *args, **kwargs): #pylint: disable=unused-argument
# files are in the directory resubmit_info in the schedd).
for adparam, taskparam in params.items():
if taskparam in ad:
# repr() in the line below is a workaround for V2 bindings bug
# https://github.com/dmwm/CRABServer/issues/8604#issuecomment-2284346056
schedd.edit(rootConst, adparam, repr(ad.lookup(taskparam)))
schedd.edit(rootConst, adparam, ad.lookup(taskparam))
elif task['resubmit_' + taskparam] is not None:
# param values set in this case are numbers, need to convert to strings
schedd.edit(rootConst, adparam, str(task['resubmit_' + taskparam]))
schedd.act(htcondor.JobAction.Hold, rootConst)
schedd.edit(rootConst, "HoldKillSig", 'SIGUSR1')
Expand Down

0 comments on commit 93bc614

Please # to comment.