[ZPT] CVS: Packages/TAL - driver.py:1.22
guido@digicool.com
guido@digicool.com
Mon, 9 Apr 2001 22:12:47 -0400 (EDT)
Update of /cvs-repository/Packages/TAL
In directory korak:/tmp/cvs-serv25353
Modified Files:
driver.py
Log Message:
Assert that the program has the right version.
--- Updated File driver.py in package Packages/TAL --
--- driver.py 2001/04/09 15:32:19 1.21
+++ driver.py 2001/04/10 02:12:46 1.22
@@ -100,6 +100,7 @@
pass
# Import local classes
+import TALDefs
from DummyEngine import DummyEngine
FILE = "test/input/test01.xml"
@@ -157,6 +158,7 @@
strictinsert=1):
from TALInterpreter import TALInterpreter
program, macros = it
+ assert TALDefs.isCurrentVersion(program)
if engine is None:
engine = DummyEngine(macros)
TALInterpreter(program, macros, engine, stream, wrap=0,