From: Felix Domke Date: Sat, 20 Oct 2007 08:21:33 +0000 (+0000) Subject: raise exception when unknown setup id is searched for X-Git-Tag: 2.6.0~1807 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/a22c31de792a36f645c9c91d954e9d8e30f82064?hp=34be902fbb3d1809348ef3b88b2d6617d34e524b raise exception when unknown setup id is searched for --- diff --git a/lib/python/Screens/Setup.py b/lib/python/Screens/Setup.py index 9c5c1e7d..2452eef9 100644 --- a/lib/python/Screens/Setup.py +++ b/lib/python/Screens/Setup.py @@ -133,3 +133,4 @@ def getSetupTitle(id): for x in elementsWithTag(xmldata, "setup"): if x.getAttribute("key") == id: return x.getAttribute("title").encode("UTF-8") + raise "unknown setup id '%s'!" % repr(id)