diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-10-20 08:21:33 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-10-20 08:21:33 +0000 |
| commit | a22c31de792a36f645c9c91d954e9d8e30f82064 (patch) | |
| tree | d6504cea060dafc45a3bce44e8dea7c8f2587a45 | |
| parent | 34be902fbb3d1809348ef3b88b2d6617d34e524b (diff) | |
| download | enigma2-a22c31de792a36f645c9c91d954e9d8e30f82064.tar.gz enigma2-a22c31de792a36f645c9c91d954e9d8e30f82064.zip | |
raise exception when unknown setup id is searched for
| -rw-r--r-- | lib/python/Screens/Setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
