[Python-checkins] python/dist/src/Mac/Modules/drag dragscan.py,1.4,1.5

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


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

Modified Files:
	dragscan.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: dragscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/drag/dragscan.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** dragscan.py	5 Aug 2002 21:13:07 -0000	1.4
--- dragscan.py	15 Aug 2002 21:48:13 -0000	1.5
***************
*** 26,29 ****
--- 26,31 ----
  	scanner.scan()
  	scanner.close()
+ 	print "=== Testing definitions output code ==="
+ 	execfile(defsoutput, {}, {})
  	print "=== Done scanning and generating, now doing 'import dragsupport' ==="
  	import dragsupport