[Python-checkins] python/dist/src/Mac/Modules/carbonevt CarbonEvtscan.py,1.8,1.9

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Thu, 15 Aug 2002 14:48:45 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules/carbonevt
In directory usw-pr-cvs1:/tmp/cvs-serv31021/carbonevt

Modified Files:
	CarbonEvtscan.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: CarbonEvtscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/carbonevt/CarbonEvtscan.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** CarbonEvtscan.py	5 Aug 2002 15:39:24 -0000	1.8
--- CarbonEvtscan.py	15 Aug 2002 21:48:13 -0000	1.9
***************
*** 20,23 ****
--- 20,25 ----
  	scanner.scan()
  	scanner.close()
+ 	print "=== Testing definitions output code ==="
+ 	execfile(defsoutput, {}, {})
  	print "--done scanning, importing--"
  	import CarbonEvtsupport