[pywin32-checkins] pywin32/com/win32comext/axscript/client error.py,1.5,1.6
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Mark H. <mha...@us...> - 2004-09-07 02:08:20
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/axscript/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8578 Modified Files: error.py Log Message: Don't check specifically for SyntaxError, check for any sub-class, so IndentationError is handled too. Index: error.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/axscript/client/error.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** error.py 2 Jul 2004 04:06:40 -0000 1.5 --- error.py 7 Sep 2004 02:08:02 -0000 1.6 *************** *** 83,87 **** linecache.clearcache() try: ! if type is SyntaxError: self._BuildFromSyntaxError(site, value, tb) else: --- 83,87 ---- linecache.clearcache() try: ! if issubclass(type, SyntaxError): self._BuildFromSyntaxError(site, value, tb) else: |