[Python-checkins] python/dist/src/Mac/Modules/cf cfscan.py,1.11,1.12
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/cf
In directory usw-pr-cvs1:/tmp/cvs-serv31021/cf
Modified Files:
cfscan.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: cfscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/cf/cfscan.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** cfscan.py 5 Aug 2002 15:39:25 -0000 1.11
--- cfscan.py 15 Aug 2002 21:48:13 -0000 1.12
***************
*** 45,48 ****
--- 45,50 ----
scanner.gentypetest(SHORT+"typetest.py")
scanner.close()
+ print "=== Testing definitions output code ==="
+ execfile(defsoutput, {}, {})
print "=== Done scanning and generating, now importing the generated code... ==="
exec "import " + SHORT + "support"