diff options
| author | andy <andy@fox.habitat> | 2008-10-30 18:24:06 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@saftware.de> | 2008-11-06 01:41:42 +0100 |
| commit | d84d4fe3d913d20b5472ea101b6474a19ece1860 (patch) | |
| tree | 292fb1ea4a080c0cfbd0e1fd5947334172c4f487 /lib/python/Components/Task.py | |
| parent | c731d02c3499e0ccb5c03f5f68d339214b6f5e60 (diff) | |
| download | enigma2-d84d4fe3d913d20b5472ea101b6474a19ece1860.tar.gz enigma2-d84d4fe3d913d20b5472ea101b6474a19ece1860.zip | |
fix execute string for tasks
Diffstat (limited to 'lib/python/Components/Task.py')
| -rw-r--r-- | lib/python/Components/Task.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/python/Components/Task.py b/lib/python/Components/Task.py index 7ea64f1a..c152e9a2 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) |
