[pywin32-checkins] pywin32/Pythonwin/pywin/debugger configui.py, 1.1.4.1, 1.1.4.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-10-02 11:36:52
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/debugger In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv14305/Pythonwin/pywin/debugger Modified Files: Tag: py3k configui.py Log Message: remove 'import *' Index: configui.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/debugger/configui.py,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.2 diff -C2 -d -r1.1.4.1 -r1.1.4.2 *** configui.py 29 Aug 2008 06:16:41 -0000 1.1.4.1 --- configui.py 2 Oct 2008 11:36:43 -0000 1.1.4.2 *************** *** 1,4 **** ! from .dbgcon import * from pywin.mfc import dialog class DebuggerOptionsPropPage(dialog.PropertyPage): --- 1,5 ---- ! import dbgcon from pywin.mfc import dialog + import win32ui class DebuggerOptionsPropPage(dialog.PropertyPage): *************** *** 7,15 **** def OnInitDialog(self): ! options = self.options = LoadDebuggerOptions() ! self.AddDDX(win32ui.IDC_CHECK1, OPT_HIDE) ! self[OPT_STOP_EXCEPTIONS] = options[OPT_STOP_EXCEPTIONS] ! self.AddDDX(win32ui.IDC_CHECK2, OPT_STOP_EXCEPTIONS) ! self[OPT_HIDE] = options[OPT_HIDE] return dialog.PropertyPage.OnInitDialog(self) --- 8,16 ---- def OnInitDialog(self): ! options = self.options = dbgcon.LoadDebuggerOptions() ! self.AddDDX(win32ui.IDC_CHECK1, dbgcon.OPT_HIDE) ! self[dbgcon.OPT_STOP_EXCEPTIONS] = options[dbgcon.OPT_STOP_EXCEPTIONS] ! self.AddDDX(win32ui.IDC_CHECK2, dbgcon.OPT_STOP_EXCEPTIONS) ! self[dbgcon.OPT_HIDE] = options[dbgcon.OPT_HIDE] return dialog.PropertyPage.OnInitDialog(self) *************** *** 17,27 **** self.UpdateData() dirty = 0 ! for key, val in list(self.items()): ! if key in self.options: if self.options[key] != val: self.options[key] = val dirty = 1 if dirty: ! SaveDebuggerOptions(self.options) # If there is a debugger open, then set its options. import pywin.debugger --- 18,28 ---- self.UpdateData() dirty = 0 ! for key, val in self.items(): ! if self.options.has_key(key): if self.options[key] != val: self.options[key] = val dirty = 1 if dirty: ! dbgcon.SaveDebuggerOptions(self.options) # If there is a debugger open, then set its options. import pywin.debugger |