Skip to content

Commit

Permalink
fix: make sure CVMFS_locations is always a list
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Apr 11, 2024
1 parent f9d149f commit 395ae99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 395ae99

Please sign in to comment.