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/Network.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/Network.py')
| -rw-r--r-- | lib/python/Components/Network.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index ecc54787..9b0898e0 100644 --- a/lib/python/Components/Network.py +++ b/lib/python/Components/Network.py @@ -332,13 +332,13 @@ class Network: def getLinkState(self,iface,callback): self.dataAvail = callback cmd = self.ethtool_bin + " " + iface - self.container.appClosed.get().append(self.cmdFinished) - self.container.dataAvail.get().append(callback) + self.container.appClosed.append(self.cmdFinished) + self.container.dataAvail.append(callback) self.container.execute(cmd) def cmdFinished(self,retval): - self.container.appClosed.get().remove(self.cmdFinished) - self.container.dataAvail.get().remove(self.dataAvail) + self.container.appClosed.remove(self.cmdFinished) + self.container.dataAvail.remove(self.dataAvail) def stopContainer(self): self.container.kill() |
