From f48ab9370862b142be850ff1517101cd6c68670f Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Thu, 12 Oct 2023 05:49:09 +0200 Subject: [PATCH] fix(TCA): all messaging done in submitRemovalRequest function fix error when trying to access res['Value'] --- .../TransformationSystem/Agent/TransformationCleaningAgent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DIRAC/TransformationSystem/Agent/TransformationCleaningAgent.py b/src/DIRAC/TransformationSystem/Agent/TransformationCleaningAgent.py index 33e35a91604..f7e25899276 100644 --- a/src/DIRAC/TransformationSystem/Agent/TransformationCleaningAgent.py +++ b/src/DIRAC/TransformationSystem/Agent/TransformationCleaningAgent.py @@ -581,7 +581,7 @@ def cleanMetadataCatalogFiles(self, transID): return S_OK() if self.cleanWithRMS: - res = self.__submitRemovalRequests(fileToRemove, transID) + return self.__submitRemovalRequests(fileToRemove, transID) else: # Executing with shifter proxy gConfigurationData.setOptionInCFG("/DIRAC/Security/UseServerCertificate", "false")