git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync
[enigma2.git]
/
mytest.py
diff --git
a/mytest.py
b/mytest.py
index 49283357fcb39d4d7903114ccb027bd3fe93ed71..2a7eb9a1fc5c6db26de8dbcb92b56f063b0099bb 100644
(file)
--- a/
mytest.py
+++ b/
mytest.py
@@
-68,7
+68,6
@@
class Session:
if self.currentDialog.isTmp:
self.currentDialog.doClose()
if self.currentDialog.isTmp:
self.currentDialog.doClose()
- print sys.getrefcount(self.currentDialog)
del self.currentDialog.instance
# dump(self.currentDialog)
del self.currentDialog
del self.currentDialog.instance
# dump(self.currentDialog)
del self.currentDialog
@@
-100,7
+99,7
@@
class Session:
print 'EXCEPTION IN DIALOG INIT CODE, ABORTING:'
print '-'*60
traceback.print_exc(file=sys.stdout)
print 'EXCEPTION IN DIALOG INIT CODE, ABORTING:'
print '-'*60
traceback.print_exc(file=sys.stdout)
- quitMainloop()
+ quitMainloop(
5
)
print '-'*60
# read skin data
print '-'*60
# read skin data
@@
-182,9
+181,15
@@
Components.AVSwitch.InitAVSwitch()
import Components.Network
Components.Network.InitNetwork()
import Components.Network
Components.Network.InitNetwork()
+import Components.Lcd
+Components.Lcd.InitLcd()
+
import Components.SetupDevices
Components.SetupDevices.InitSetupDevices()
import Components.SetupDevices
Components.SetupDevices.InitSetupDevices()
+import Components.RFmod
+Components.RFmod.InitRFmod()
+
import Components.NimManager
# first, setup a screen
import Components.NimManager
# first, setup a screen
@@
-194,7
+199,7
@@
except:
print 'EXCEPTION IN PYTHON STARTUP CODE:'
print '-'*60
traceback.print_exc(file=sys.stdout)
print 'EXCEPTION IN PYTHON STARTUP CODE:'
print '-'*60
traceback.print_exc(file=sys.stdout)
- quitMainloop()
+ quitMainloop(
5
)
print '-'*60
# now, run the mainloop
print '-'*60
# now, run the mainloop