From 395ae992606deedc20873c9abe046019a8286f25 Mon Sep 17 00:00:00 2001 From: aldbr Date: Thu, 11 Apr 2024 15:35:29 +0200 Subject: [PATCH] fix: make sure CVMFS_locations is always a list --- src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py b/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py index 84104150c11..2c775686723 100644 --- a/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py +++ b/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py @@ -1106,7 +1106,8 @@ def _writePilotScript(self, workingDirectory, pilotOptions, proxy=None, pilotExe self.log.exception("Exception during pilot modules files compression", lException=be) location = Operations().getValue("Pilot/pilotFileServer", "") - CVMFS_locations = Operations().getValue("Pilot/CVMFS_locations") + CVMFS_locations = Operations().getValue("Pilot/CVMFS_locations", []) + localPilot = pilotWrapperScript( pilotFilesCompressedEncodedDict=pilotFilesCompressedEncodedDict, pilotOptions=pilotOptions,