[Python-checkins] python/dist/src/Mac/Modules/win winscan.py,1.22,1.23

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


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

Modified Files:
	winscan.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: winscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/win/winscan.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** winscan.py	5 Aug 2002 15:39:30 -0000	1.22
--- winscan.py	15 Aug 2002 21:48:16 -0000	1.23
***************
*** 14,17 ****
--- 14,19 ----
  	scanner.scan()
  	scanner.close()
+ 	print "=== Testing definitions output code ==="
+ 	execfile(defsoutput, {}, {})
  	print "=== Done scanning and generating, now importing the generated code... ==="
  	import winsupport