From 490d2a61da890458861b7d8868843ccc17cbbe0a Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Wed, 28 Feb 2024 10:54:45 +0100 Subject: [PATCH] fix: CVMFS locations comes as a string --- Pilot/pilotTools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pilot/pilotTools.py b/Pilot/pilotTools.py index c2e2864b..8352514a 100644 --- a/Pilot/pilotTools.py +++ b/Pilot/pilotTools.py @@ -1278,7 +1278,8 @@ def __initJSON2(self): self.releaseProject = pilotOptions.get("Project", self.releaseProject) # default from the code. self.log.debug("Release project: %s" % self.releaseProject) - self.CVMFS_locations = pilotOptions.get("CVMFS_locations", self.CVMFS_locations) # default from the code. + if "CVMFS_locations" in pilotOptions: + self.CVMFS_locations = pilotOptions["CVMFS_locations"].replace(" ", "").split(",") self.log.debug("CVMFS locations: %s" % self.CVMFS_locations)