[Spambayes-checkins] spambayes/spambayes hammiebulk.py,1.10,1.11

Tony Meyer anadelonbrin at users.sourceforge.net
Wed Oct 8 23:04:50 EDT 2003


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

Modified Files:
	hammiebulk.py 
Log Message:
Fix bug reported on the list by John D.

Somehow an old-style options statement was left in hammiebulk.

Index: hammiebulk.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/hammiebulk.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** hammiebulk.py	18 Sep 2003 15:36:30 -0000	1.10
--- hammiebulk.py	9 Oct 2003 03:04:48 -0000	1.11
***************
*** 69,74 ****
  
  # Probability at which a message is considered spam
! SPAM_THRESHOLD = options.spam_cutoff
! HAM_THRESHOLD = options.ham_cutoff
  
  
--- 69,74 ----
  
  # Probability at which a message is considered spam
! SPAM_THRESHOLD = options["Categorization", "spam_cutoff"]
! HAM_THRESHOLD = options["Categorization", "ham_cutoff"]
  
  





More information about the Spambayes-checkins mailing list