git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a925ce
)
use boundFunction from tools
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 22 Nov 2005 01:35:40 +0000
(
01:35
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 22 Nov 2005 01:35:40 +0000
(
01:35
+0000)
lib/python/Components/NimManager.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/NimManager.py
b/lib/python/Components/NimManager.py
index e7593200d20a22d455114aa40266028604631198..14517d75e9abcd306fc4c836c53678782fd790f0 100644
(file)
--- a/
lib/python/Components/NimManager.py
+++ b/
lib/python/Components/NimManager.py
@@
-18,6
+18,8
@@
from Tools import XMLTools
from xml.sax import make_parser
from xml.sax.handler import ContentHandler
+from Tools.BoundFunction import boundFunction
+
def tryOpen(filename):
try:
procFile = open(filename)
@@
-84,13
+86,6
@@
class SecConfigure:
self.NimManager = nimmgr
self.update()
-class boundFunction:
- def __init__(self, fnc, *args):
- self.fnc = fnc
- self.args = args
- def __call__(self, *args):
- self.fnc(*self.args + args)
-
class nimSlot:
def __init__(self, slotid, nimtype, name):
self.slotid = slotid