aboutsummaryrefslogtreecommitdiff
path: root/mytest.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-01-27 00:04:59 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-01-27 00:04:59 +0100
commit15d7074f55a2c3dd38ce9877626be6ec32b448d2 (patch)
treed00b0e0de23212eed1432c8661ac13e27728f107 /mytest.py
parenta4fd5bddb0f8c1b05b963cb8af9692f6c89f3dab (diff)
downloadenigma2-15d7074f55a2c3dd38ce9877626be6ec32b448d2.tar.gz
enigma2-15d7074f55a2c3dd38ce9877626be6ec32b448d2.zip
fixes for python 2.6 by Moritz Venn
Diffstat (limited to 'mytest.py')
-rw-r--r--mytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mytest.py b/mytest.py
index 014f94c9..8f23beac 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()