X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=mytest.py;h=8f23beacb1119d619b54c9422251ab2d698aa20e;hb=720092ea458fc23200a2e1457725fcbce78d1d9e;hp=014f94c9a1d40692aba7daf606e1370a8e1bd16d;hpb=7e94237a4e4ee40e1dff230d1760dcaaba3d90e8;p=vuplus_dvbapp diff --git a/mytest.py b/mytest.py index 014f94c..8f23bea 100644 --- 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: - 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()