projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes for python 2.6 by Moritz Venn
[vuplus_dvbapp]
/
mytest.py
diff --git
a/mytest.py
b/mytest.py
index
014f94c
..
8f23bea
100644
(file)
--- a/
mytest.py
+++ b/
mytest.py
@@
-277,7
+277,7
@@
class Session:
def open(self, screen, *arguments, **kwargs):
if len(self.dialog_stack) and not self.in_exec:
def open(self, screen, *arguments, **kwargs):
if len(self.dialog_stack) and not self.in_exec:
- raise
"modal open are allowed only from a screen which is modal!"
+ raise
RuntimeError("modal open are allowed only from a screen which is modal!")
# ...unless it's the very first screen.
self.pushCurrent()
# ...unless it's the very first screen.
self.pushCurrent()