X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FTask.py;h=c152e9a28ac4077bb9fb5e008bd7ac5210edf1d9;hp=7ea64f1afa1b1bf0d31beb63cad2b7705b23ec0e;hb=d84d4fe3d913d20b5472ea101b6474a19ece1860;hpb=c731d02c3499e0ccb5c03f5f68d339214b6f5e60 diff --git a/lib/python/Components/Task.py b/lib/python/Components/Task.py index 7ea64f1..c152e9a 100644 --- a/lib/python/Components/Task.py +++ b/lib/python/Components/Task.py @@ -136,7 +136,6 @@ class Task(object): def setTool(self, tool): self.cmd = tool - self.args = [tool] self.global_preconditions.append(ToolExistsPrecondition()) self.postconditions.append(ReturncodePostcondition()) @@ -172,7 +171,7 @@ class Task(object): if self.cwd is not None: self.container.setCWD(self.cwd) - execstr = self.cmd + " ".join(self.args) + #execstr = " ".join([self.cmd]+self.args) print "execute:", self.container.execute(execstr), execstr if self.initial_input: self.writeInput(self.initial_input)