From a22c31de792a36f645c9c91d954e9d8e30f82064 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sat, 20 Oct 2007 08:21:33 +0000 Subject: [PATCH] raise exception when unknown setup id is searched for --- lib/python/Screens/Setup.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2