[Python-checkins] python/dist/src/Mac/Modules/ae aescan.py,1.14,1.15
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Thu, 15 Aug 2002 14:48:46 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules/ae
In directory usw-pr-cvs1:/tmp/cvs-serv31021/ae
Modified Files:
aescan.py
Log Message:
After generating the Python file with definitions try to run it, so
we catch errors during the build process in stead of later during runtime.
Index: aescan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ae/aescan.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** aescan.py 5 Aug 2002 15:39:23 -0000 1.14
--- aescan.py 15 Aug 2002 21:48:12 -0000 1.15
***************
*** 21,24 ****
--- 21,26 ----
scanner.scan()
scanner.close()
+ print "=== Testing definitions output code ==="
+ execfile(defsoutput, {}, {})
print "=== Done Scanning and Generating, now doing 'import aesupport' ==="
import aesupport