[Python-checkins] python/dist/src/Mac/Modules/qdoffs qdoffsscan.py,1.3,1.4

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
2002年8月15日 14:48:17 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules/qdoffs
In directory usw-pr-cvs1:/tmp/cvs-serv31021/qdoffs
Modified Files:
	qdoffsscan.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: qdoffsscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/qdoffs/qdoffsscan.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** qdoffsscan.py	5 Aug 2002 15:39:29 -0000	1.3
--- qdoffsscan.py	15 Aug 2002 21:48:15 -0000	1.4
***************
*** 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 qdoffssupport

AltStyle によって変換されたページ (->オリジナル) /