Skip to content

Commit

Permalink
hadnling of the cases still not implementing custom auth method
Browse files Browse the repository at this point in the history
  • Loading branch information
anpicci committed Dec 16, 2024
1 parent c5705e5 commit 933ad93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/python/WMCore/Storage/StageOutImpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ def __call__(self, protocol, inputPFN, targetPFN, options=None, checksums=None):
# //
# // Create the command to be used.
# //
command = self.createStageOutCommand(sourcePFN, targetPFN, options, checksums, auth_method="TOKEN")
try:
command = self.createStageOutCommand(sourcePFN, targetPFN, options, checksums, auth_method="TOKEN")
except:
command = self.createStageOutCommand(sourcePFN, targetPFN, options, checksums)
# //
# // Run the command
# //
Expand Down

0 comments on commit 933ad93

Please sign in to comment.