- arguments = self.get("arguments") or ""
- for arg in map(str.strip, arguments.split(";")):
- self.simulation.invoke(
- self.simulation.dce_application_helper_uuid,
- "AddArgument", arg)
-
- environment = self.get("environment") or ""
- for env in map(str.strip, environment.split(";")):
- key, val = env.split("=")
- self.simulation.invoke(
- self.simulation.dce_application_helper_uuid,
- "AddEnvironment", key, val)
-
- if self.has_attribute("files"):
- files = self.get("files") or ""
- for files in map(str.strip, files.split(";")):
- remotepath, dcepath = env.split("=")
- localpath = "${SHARE}/" + os.path.basename(remotepath)
+ arguments = self.get("arguments")
+ if arguments:
+ for arg in map(str.strip, arguments.split(";")):