[Spambayes-checkins] spambayes/Outlook2000/dialogs dlgcore.py, 1.2, 1.3

Mark Hammond mhammond at users.sourceforge.net
Wed Aug 13 07:40:49 EDT 2003


Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs
In directory sc8-pr-cvs1:/tmp/cvs-serv27505

Modified Files:
	dlgcore.py 
Log Message:
Fix error handler when setting option, as reported by Tony.


Index: dlgcore.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/dlgcore.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** dlgcore.py	10 Aug 2003 07:26:49 -0000	1.2
--- dlgcore.py	13 Aug 2003 13:40:47 -0000	1.3
***************
*** 242,247 ****
          except ValueError, why:
              mb_flags = win32con.MB_ICONEXCLAMATION | win32con.MB_OK
!             win32gui.MessageBox(self.hwnd, str(why),
!                                 self.dialog_def.caption, mb_flags)
              return False
          
--- 242,246 ----
          except ValueError, why:
              mb_flags = win32con.MB_ICONEXCLAMATION | win32con.MB_OK
!             win32gui.MessageBox(self.hwnd, str(why), "SpamBayes", mb_flags)
              return False
          





More information about the Spambayes-checkins mailing list