[Python-checkins] python/dist/src/Mac/Modules/snd sndscan.py,1.17,1.18
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/snd
In directory usw-pr-cvs1:/tmp/cvs-serv31021/snd
Modified Files:
sndscan.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: sndscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/snd/sndscan.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** sndscan.py 5 Aug 2002 15:39:30 -0000 1.17
--- sndscan.py 15 Aug 2002 21:48:15 -0000 1.18
***************
*** 17,20 ****
--- 17,22 ----
scanner.scan()
scanner.close()
+ print "=== Testing definitions output code ==="
+ execfile(defsoutput, {}, {})
print "=== Done scanning and generating, now doing 'import sndsupport' ==="
import sndsupport