[pywin32-checkins] pywin32/com/win32comext/directsound/test ds_test.py, 1.5, 1.6
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-26 08:52:37
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/directsound/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19471/win32comext/directsound/test Modified Files: ds_test.py Log Message: modernize syntax: all remaining raise statements in com/* upgraded Index: ds_test.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/directsound/test/ds_test.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ds_test.py 14 Nov 2008 00:22:25 -0000 1.5 --- ds_test.py 26 Nov 2008 08:52:32 -0000 1.6 *************** *** 20,24 **** if riff != 'RIFF': ! raise ValueError, 'invalid wav header' if fmtsize != 16 or fmt != 'fmt ' or data != 'data': --- 20,24 ---- if riff != 'RIFF': ! raise ValueError('invalid wav header') if fmtsize != 16 or fmt != 'fmt ' or data != 'data': |