Skip to content

Commit b6fc97f

Browse files
authored
Merge pull request #6524 from DIRACGridBot/cherry-pick-2-cd2eee823-integration
[sweep:integration] Support using ARC that was compiled against SWIG 4.1+
2 parents 92c3716 + 31cd74d commit b6fc97f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DIRAC/Resources/Computing/ARC6ComputingElement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def submitJob(self, executableFile, proxy, numberOfJobs=1):
119119
self.log.debug("DIRAC stamp for job : %s" % diracStamp)
120120

121121
# The arc bindings don't accept unicode objects in Python 2 so xrslString must be explicitly cast
122-
result = arc.JobDescription_Parse(str(xrslString), jobdescs)
122+
result = arc.JobDescription.Parse(str(xrslString), jobdescs)
123123
if not result:
124124
self.log.error("Invalid job description", f"{xrslString!r}, message={result.str()}")
125125
break

src/DIRAC/Resources/Computing/ARCComputingElement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def submitJob(self, executableFile, proxy, numberOfJobs=1, inputs=None, outputs=
289289
self.log.debug("XRSL string submitted : %s" % xrslString)
290290
self.log.debug("DIRAC stamp for job : %s" % diracStamp)
291291
# The arc bindings don't accept unicode objects in Python 2 so xrslString must be explicitly cast
292-
result = arc.JobDescription_Parse(str(xrslString), jobdescs)
292+
result = arc.JobDescription.Parse(str(xrslString), jobdescs)
293293
if not result:
294294
self.log.error("Invalid job description", f"{xrslString!r}, message={result.str()}")
295295
break

0 commit comments

Comments
 (0)