[pywin32-checkins] pywin32/com/win32comext/axscript/client framework.py,1.18,1.19
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2003-11-08 00:43:51
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/axscript/client In directory sc8-pr-cvs1:/tmp/cvs-serv26125 Modified Files: framework.py Log Message: If the axdebug module doesn't exist, gracefully continue to work without debugging support. Index: framework.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/axscript/client/framework.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** framework.py 19 Mar 2003 02:06:26 -0000 1.18 --- framework.py 8 Nov 2003 00:43:46 -0000 1.19 *************** *** 554,557 **** --- 554,558 ---- import traceback try: + import win32com.axdebug.axdebug # see if the core exists. import debug self.debugManager = debug.DebugManager(self) *************** *** 560,563 **** --- 561,567 ---- # seen on the target system trace("Debugging interfaces not available - debugging is disabled..") + self.debugManager = None + except ImportError: + trace("Debugging extensions (axdebug) module does not exist - debugging is disabled..") self.debugManager = None except: |