Skip to content

Commit

Permalink
fix(TCA): add encoding before hashing
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer committed Oct 12, 2023
1 parent 1ea2285 commit 0119413
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ def __submitRemovalRequests(self, lfns, transID=0):
"""
for index, lfnList in enumerate(breakListIntoChunks(lfns, 300)):
oRequest = Request()
requestName = "TCA_{transID}_{index}_{md5(repr(time.time())).hexdigest()[:5]}"
requestName = "TCA_{transID}_{index}_{md5(repr(time.time()).encode()).hexdigest()[:5]}"
oRequest.RequestName = requestName
oOperation = Operation()
oOperation.Type = "RemoveFile"
Expand Down

0 comments on commit 0119413

Please sign in to comment.