raise exception when unknown setup id is searched for
authorFelix Domke <tmbinc@elitedvb.net>
Sat, 20 Oct 2007 08:21:33 +0000 (08:21 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sat, 20 Oct 2007 08:21:33 +0000 (08:21 +0000)
lib/python/Screens/Setup.py

index 9c5c1e7..2452eef 100644 (file)
@@ -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)