[v9r1] TS: correct cast to set to fix exception in the ReplicateToLocalSE plugin
This fixes the following exception observed in production
2018-05-04 00:36:18 UTC Transformation/TransformationAgent-DM ERROR: Exception in plugin ReplicateToLocalSE
Traceback (most recent call last):
File "/opt/dirac/pro/DIRAC/TransformationSystem/Client/PluginBase.py", line 35, in run
return eval(evalString) # pylint: disable=eval-used
File "<string>", line 1, in <module>
File "/opt/dirac/pro/LHCbDIRAC/TransformationSystem/Agent/TransformationPlugin.py", line 1602, in _ReplicateToLocalSE
okSEs = replicaSEs & destSEs
TypeError: unsupported operand type(s) for &: 'set' and 'list'
2018-05-04 00:36:18 UTC Transformation/TransformationAgent-DM/ReplicateToLocalSE INFO: [Thread11] [74019] Execution finished, timing: 358.395 seconds
2018-05-04 00:36:18 UTC Transformation/TransformationAgent-DM ERROR: [Thread11] [74019] .execute Exception in plugin
Traceback (most recent call last):
File "/opt/dirac/pro/DIRAC/TransformationSystem/Agent/TransformationAgent.py", line 215, in _execute
res = self.processTransformation(transDict, clients)
File "/opt/dirac/pro/DIRAC/TransformationSystem/Agent/TransformationAgent.py", line 284, in processTransformation
res = oPlugin.run()
File "/opt/dirac/pro/DIRAC/TransformationSystem/Client/PluginBase.py", line 44, in run
raise Exception(x)
Exception: unsupported operand type(s) for &: 'set' and 'list'