[Spambayes-checkins] spambayes/spambayes Options.py,1.71,1.72

Tony Meyer anadelonbrin at users.sourceforge.net
Tue Sep 9 01:03:57 EDT 2003


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

Modified Files:
	Options.py 
Log Message:
Implement half of [ 801699 ] migration from hammie to sb_* scripts
(although in a different way)

This makes it optional to write the X-Spambayes-Trained header, to ease transition
from hammie.py

Index: Options.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/Options.py,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** Options.py	6 Sep 2003 04:03:35 -0000	1.71
--- Options.py	9 Sep 2003 07:03:54 -0000	1.72
***************
*** 569,572 ****
--- 569,579 ----
       HEADER_NAME, RESTORE),
  
+     ("include_trained", "Add trained header", True,
+      """sb_mboxtrain.py can add a header that details how a message was
+      trained, which lets you keep track of it, and appropriately
+      re-train messages.  However, if you would rather mboxtrain didn't
+      rewrite the message files, you can disable this option.""",
+      BOOLEAN, RESTORE),
+ 
      ("trained_header_name", "Trained header name", "X-Spambayes-Trained",
       """When training on a message, the name of the header to add with how





More information about the Spambayes-checkins mailing list