X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Factions%2Fparseactions.py;h=cad432a7e6f868a016db152a064411293f225e5a;hb=7030e4d7bb27c16098b04526d0bfc72291459665;hp=4ab71af79aa306cc47a9953e9ea658c66798ec38;hpb=67b53c1cb06988394c35a6e965c99b72b67fe1be;p=vuplus_dvbapp diff --git a/lib/actions/parseactions.py b/lib/actions/parseactions.py index 4ab71af..cad432a 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