[Python-checkins] python/dist/src/Mac/Modules/qd qdscan.py,1.26,1.27

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


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

Modified Files:
	qdscan.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: qdscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/qd/qdscan.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** qdscan.py	5 Aug 2002 15:39:29 -0000	1.26
--- qdscan.py	15 Aug 2002 21:48:15 -0000	1.27
***************
*** 41,44 ****
--- 41,46 ----
  		ofp.close()
  		
+ 	print "=== Testing definitions output code ==="
+ 	execfile(defsoutput, {}, {})
  	print "=== Done scanning and generating, now importing the generated code... ==="
  	import qdsupport