aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/NimManager.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index e7593200..14517d75 100644
--- 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