Skip to content
Snippets Groups Projects
Commit 449a32fa authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Changed the way we build the VOSpace node list.

parent b97a5034
No related branches found
No related tags found
No related merge requests found
Pipeline #2164 passed
......@@ -43,9 +43,13 @@ class RetrievePreprocessor(TaskExecutor):
super(RetrievePreprocessor, self).__init__()
def execute(self):
vospacePathList = self.jobObj.jobInfo["transfer"]["target"]
for vospacePath in vospacePathList:
self.nodeList.append(vospacePath.split("!vospace")[1])
target = self.jobObj.jobInfo["transfer"]["target"].split("!vospace")[1]
params = self.jobObj.jobInfo["transfer"]["view"]["param"]
if not params:
self.nodeList.append(target)
else:
for el in params:
self.nodeList.append(target + '/' + el["value"])
self.jobObj.jobInfo["nodeList"] = self.nodeList.copy()
def update(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment