[Zpt] CVS: Packages/TAL - TALGenerator.py:1.13
guido@digicool.com
guido@digicool.com
Fri, 16 Mar 2001 12:24:03 -0500 (EST)
Update of /cvs-repository/Packages/TAL
In directory korak:/tmp/cvs-serv32108
Modified Files:
TALGenerator.py
Log Message:
Oops, raise METALError for unknown METAL attributes
--- Updated File TALGenerator.py in package Packages/TAL --
--- TALGenerator.py 2001/03/16 17:21:12 1.12
+++ TALGenerator.py 2001/03/16 17:24:03 1.13
@@ -302,7 +302,7 @@
raise TALError("bad TAL attribute: " + `key`)
for key in metaldict.keys():
if key not in KNOWN_METAL_ATTRIBUTES:
- raise TALError("bad METAL attribute: " + `key`)
+ raise METALError("bad METAL attribute: " + `key`)
todo = {}
defineMacro = metaldict.get("define-macro")
useMacro = metaldict.get("use-macro")