aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorandy <andy@fox.habitat>2008-10-30 18:24:06 +0100
committerAndreas Oberritter <obi@saftware.de>2008-11-06 01:51:46 +0100
commitd36def84f92bb9206c792356954e62c533297af4 (patch)
tree292fb1ea4a080c0cfbd0e1fd5947334172c4f487 /lib/python/Components
parentc0d4e140b6ab536c08074800248c366fa7cb79b0 (diff)
downloadenigma2-d36def84f92bb9206c792356954e62c533297af4.tar.gz
enigma2-d36def84f92bb9206c792356954e62c533297af4.zip
fix execute string for tasks
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/Task.py3
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)