change deprecated string exception
authorMoritz Venn <ritzmo@users.schwerkraft.elitedvb.net>
Sat, 17 Jan 2009 01:18:20 +0000 (01:18 +0000)
committerMoritz Venn <ritzmo@users.schwerkraft.elitedvb.net>
Sat, 17 Jan 2009 01:18:20 +0000 (01:18 +0000)
webinterface/src/webif.py

index 4e59392..1a107c1 100644 (file)
@@ -426,7 +426,7 @@ class ListFiller(Converter):
                        elif isinstance(element, ListMacroItem):
                                lutlist.append((element.macrodict[element.macroname], None))
                        else:
-                               raise "neither string, ListItem nor ListMacroItem"
+                               raise Exception("neither string, ListItem nor ListMacroItem")
 
                # now, for the huge list, do:
                strlist = [ ]