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 933ad93 commit f0d636f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/WMCore/Storage/StageOutImpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ def __call__(self, protocol, inputPFN, targetPFN, options=None, checksums=None):
# //
try:
command = self.createStageOutCommand(sourcePFN, targetPFN, options, checksums, auth_method="TOKEN")
except:
except TypeError as ex:
logging.warning("Falling back to default createStageOutCommand due to: %s", str(ex))
command = self.createStageOutCommand(sourcePFN, targetPFN, options, checksums)
# //
# // Run the command
Expand Down

0 comments on commit f0d636f

Please sign in to comment.