raise exception when unknown setup id is searched for
[enigma2.git] / 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)