diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-28 19:52:04 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-28 19:52:04 +0000 |
| commit | 1b01c9c3c05fdd42327406161bd5c51e05fbca19 (patch) | |
| tree | 8a6208b5d1f3001d4263a8634a122f8d1098ff6f /lib/python/Components/Task.py | |
| parent | 1aa0603ed3b7ff359f2ebc46f6a97ad6ea009ae6 (diff) | |
| download | enigma2-1b01c9c3c05fdd42327406161bd5c51e05fbca19.tar.gz enigma2-1b01c9c3c05fdd42327406161bd5c51e05fbca19.zip | |
remove non working wrapper class to add a (unneeded) .get() call to
eConsoleAppContainers.. so now all external plugins must remove this .get()
calls...
example:
cont = eConsoleAppContainer()
cont.appClosed.append(cb_func) # old was
cont.appClosed.get().append(cb_func)
Diffstat (limited to 'lib/python/Components/Task.py')
| -rw-r--r-- | lib/python/Components/Task.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Components/Task.py b/lib/python/Components/Task.py index 022ca1f1..7ea64f1a 100644 --- a/lib/python/Components/Task.py +++ b/lib/python/Components/Task.py @@ -162,9 +162,9 @@ class Task(object): self.task_progress_changed = task_progress_changed from enigma import eConsoleAppContainer self.container = eConsoleAppContainer() - self.container.appClosed.get().append(self.processFinished) - self.container.stdoutAvail.get().append(self.processStdout) - self.container.stderrAvail.get().append(self.processStderr) + self.container.appClosed.append(self.processFinished) + self.container.stdoutAvail.append(self.processStdout) + self.container.stderrAvail.append(self.processStderr) assert self.cmd is not None assert len(self.args) >= 1 |
