aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Ipkg.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-28 19:52:04 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-28 19:52:04 +0000
commit1b01c9c3c05fdd42327406161bd5c51e05fbca19 (patch)
tree8a6208b5d1f3001d4263a8634a122f8d1098ff6f /lib/python/Components/Ipkg.py
parent1aa0603ed3b7ff359f2ebc46f6a97ad6ea009ae6 (diff)
downloadenigma2-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/Ipkg.py')
-rw-r--r--lib/python/Components/Ipkg.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Components/Ipkg.py b/lib/python/Components/Ipkg.py
index 79389b4d..31889bcf 100644
--- a/lib/python/Components/Ipkg.py
+++ b/lib/python/Components/Ipkg.py
@@ -31,8 +31,8 @@ class IpkgComponent:
def runCmd(self, cmd):
print "executing", self.ipkg, cmd
- self.cmd.appClosed.get().append(self.cmdFinished)
- self.cmd.dataAvail.get().append(self.cmdData)
+ self.cmd.appClosed.append(self.cmdFinished)
+ self.cmd.dataAvail.append(self.cmdData)
if self.cmd.execute(self.ipkg + " " + cmd):
self.cmdFinished(-1)
@@ -56,8 +56,8 @@ class IpkgComponent:
def cmdFinished(self, retval):
self.callCallbacks(self.EVENT_DONE)
- self.cmd.appClosed.get().remove(self.cmdFinished)
- self.cmd.dataAvail.get().remove(self.cmdData)
+ self.cmd.appClosed.remove(self.cmdFinished)
+ self.cmd.dataAvail.remove(self.cmdData)
def cmdData(self, data):
print "data:", data