[Spambayes-checkins] spambayes/Outlook2000 train.py,1.27,1.27.2.1
Mark Hammond
mhammond at users.sourceforge.net
Mon Aug 4 00:56:19 EDT 2003
Update of /cvsroot/spambayes/spambayes/Outlook2000
In directory sc8-pr-cvs1:/tmp/cvs-serv5061
Modified Files:
Tag: outlook-dialog-branch
train.py
Log Message:
Main training callback uses args from config, not passed in.
Index: train.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/train.py,v
retrieving revision 1.27
retrieving revision 1.27.2.1
diff -C2 -d -r1.27 -r1.27.2.1
*** train.py 15 May 2003 22:52:00 -0000 1.27
--- train.py 4 Aug 2003 06:56:17 -0000 1.27.2.1
***************
*** 98,103 ****
# Called back from the dialog to do the actual training.
! def trainer(mgr, progress, rebuild, rescore = True):
config = mgr.config
if not config.training.ham_folder_ids or not config.training.spam_folder_ids:
--- 98,105 ----
# Called back from the dialog to do the actual training.
! def trainer(mgr, progress):
config = mgr.config
+ rebuild = config.training.rebuild
+ rescore = config.training.rescore
if not config.training.ham_folder_ids or not config.training.spam_folder_ids:
More information about the Spambayes-checkins
mailing list