Skip to content

Commit

Permalink
Merge pull request #7550 from VladimirRomanovsky/JobCleaningAgent
Browse files Browse the repository at this point in the history
[8.0] fix: type issue in JobCleaningAgent;
  • Loading branch information
fstagni authored Apr 4, 2024
2 parents f9d149f + 6284212 commit 2369983
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def deleteJobsByStatus(self, condDict, delay=False):

failedJobs = result["Value"][JobStatus.FAILED]
for job in failedJobs:
jobList.pop(jobList.index(job))
jobList.pop(jobList.index(str(job)))
if not jobList:
return S_OK()

Expand Down

0 comments on commit 2369983

Please sign in to comment.