[Python-checkins] python/dist/src/Mac/Modules/cm cmscan.py,1.9,1.10

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


Update of /cvsroot/python/python/dist/src/Mac/Modules/cm
In directory usw-pr-cvs1:/tmp/cvs-serv31021/cm
Modified Files:
	cmscan.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: cmscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/cm/cmscan.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** cmscan.py	5 Aug 2002 15:39:26 -0000	1.9
--- cmscan.py	15 Aug 2002 21:48:13 -0000	1.10
***************
*** 17,20 ****
--- 17,22 ----
 	scanner.scan()
 	scanner.close()
+ 	print "=== Testing definitions output code ==="
+ 	execfile(defsoutput, {}, {})
 	print "=== Done scanning and generating, now importing the generated code... ==="
 	exec "import " + SHORT + "support"

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