From 1b01c9c3c05fdd42327406161bd5c51e05fbca19 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 28 Oct 2008 19:52:04 +0000 Subject: 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) --- lib/python/Components/Task.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/python/Components/Task.py') 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 -- cgit v1.2.3