[Spambayes-checkins] spambayes/Outlook2000 train.py,1.30,1.31

Mark Hammond mhammond at users.sourceforge.net
Sun Aug 24 01:57:45 EDT 2003


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

Modified Files:
	train.py 
Log Message:
Don't score if the training was cancelled.


Index: train.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/train.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** train.py	24 Aug 2003 03:05:16 -0000	1.30
--- train.py	24 Aug 2003 07:57:43 -0000	1.31
***************
*** 162,165 ****
--- 162,168 ----
      real_trainer(classifier_data, config, mgr.message_store, progress)
      
+     if progress.stop_requested():
+         return
+     
      if rebuild:
          assert mgr.classifier_data is not classifier_data





More information about the Spambayes-checkins mailing list