X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/67b53c1cb06988394c35a6e965c99b72b67fe1be..057f9b4f5534a302c6e66431894724ae213985b1:/lib/actions/parseactions.py diff --git a/lib/actions/parseactions.py b/lib/actions/parseactions.py index 4ab71af7..cad432a7 100644 --- a/lib/actions/parseactions.py +++ b/lib/actions/parseactions.py @@ -65,7 +65,7 @@ def do_file(f, mode): except: pass - raise "action enum must be simple." + raise Exception("action enum must be simple.") counter = 0 @@ -82,14 +82,14 @@ def do_file(f, mode): if counter: if t != ",": - raise "no comma" + raise Exception("no comma") t = tokens.next() if firsthit: if mode == "include": # hack hack hack!! - print "#include " + print "#include " else: print "\t// " + f