[Spambayes-checkins] spambayes/Outlook2000/dialogs test_dialogs.py,
1.8, 1.9
Mark Hammond
mhammond at users.sourceforge.net
Mon Aug 25 20:27:28 EDT 2003
Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs
In directory sc8-pr-cvs1:/tmp/cvs-serv19405
Modified Files:
test_dialogs.py
Log Message:
Allow "-d" to dump the options after the dialog is closed, to help check
the processors set the value correctly.
Close the manager - not doing this prevented an existing instance of
Outlook from shutting down once this had been run.
Index: test_dialogs.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/test_dialogs.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** test_dialogs.py 24 Aug 2003 03:05:16 -0000 1.8
--- test_dialogs.py 26 Aug 2003 02:27:26 -0000 1.9
***************
*** 22,23 ****
--- 22,28 ----
else:
ShowDialog(0, mgr, mgr.config, idd)
+ if "-d" in sys.argv:
+ print "Dumping(but not saving) new manager configuration:"
+ print mgr.options.display()
+ print "-- end of configuration --"
+ mgr.Close()
More information about the Spambayes-checkins
mailing list