add support for cyclic garbage collection to eTimer and eSocketNotifier
[vuplus_dvbapp] / tests / enigma.py
index 11c5b23..2bf2a59 100644 (file)
@@ -75,7 +75,7 @@ def stop():
 def run(duration = 1000):
        stoptimer = eTimer()
        stoptimer.start(duration * 1000.0)
-       stoptimer.timeout.get().append(stop)
+       stoptimer.callback.append(stop)
        while not stopped:
                runIteration()
 
@@ -359,7 +359,5 @@ def init_all():
        import Components.RFmod
        Components.RFmod.InitRFmod()
 
-       import Components.NimManager
-
        import Screens.Ci
        Screens.Ci.InitCiConfig()