[pywin32-checkins] pywin32/Pythonwin/pywin/debugger __init__.py, 1.5, 1.6 dbgcon.py, 1.1, 1.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-10-23 03:39:18
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/debugger In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20553/Pythonwin/pywin/debugger Modified Files: __init__.py dbgcon.py Log Message: Use py2 and py3 compatible syntax when possible. Index: dbgcon.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/debugger/dbgcon.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dbgcon.py 1 Sep 1999 23:33:41 -0000 1.1 --- dbgcon.py 23 Oct 2008 03:39:13 -0000 1.2 *************** *** 25,28 **** def SaveDebuggerOptions(opts): ! for key, val in opts.items(): win32ui.WriteProfileVal("Debugger Options", key, val) --- 25,28 ---- def SaveDebuggerOptions(opts): ! for key, val in opts.iteritems(): win32ui.WriteProfileVal("Debugger Options", key, val) Index: __init__.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/debugger/__init__.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** __init__.py 1 Mar 2003 00:25:28 -0000 1.5 --- __init__.py 23 Oct 2008 03:39:13 -0000 1.6 *************** *** 13,17 **** if isInprocApp: # MAY Need it - may already have one ! need = sys.modules.has_key("pywin.debugger.dbgpyapp")==0 else: need = 0 --- 13,17 ---- if isInprocApp: # MAY Need it - may already have one ! need = "pywin.debugger.dbgpyapp" not in sys.modules else: need = 0 |