[Spambayes-checkins] spambayes/contrib nway.py,1.2,1.3
Tony Meyer
anadelonbrin at users.sourceforge.net
Thu Sep 4 19:15:30 EDT 2003
- Previous message: [Spambayes-checkins] spambayes dbExpImp.py, 1.7, NONE hammie.py,
1.46, NONE hammiecli.py, 1.4, NONE hammiefilter.py, 1.19,
NONE hammiesrv.py, 1.11, NONE imapfilter.py, 1.54,
NONE mailsort.py, 1.7, NONE mboxtrain.py, 1.12,
NONE notesfilter.py, 1.3, NONE pop3proxy.py, 1.97,
NONE proxytee.py, 1.4, NONE smtpproxy.py, 1.15,
NONE unheader.py, 1.10, NONE
- Next message: [Spambayes-checkins] spambayes/spambayes Options.py, 1.69,
1.70 OptionsClass.py, 1.11, 1.12 TestDriver.py, 1.3,
1.4 classifier.py, 1.8, 1.9 dbmstorage.py, 1.7, 1.8 hammie.py,
1.7, 1.8 storage.py, 1.27, 1.28 tokenizer.py, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/spambayes/spambayes/contrib
In directory sc8-pr-cvs1:/tmp/cvs-serv14102/contrib
Modified Files:
nway.py
Log Message:
Remove backwards compat code for options, and update all (I hope)
the remaining code that uses it.
Index: nway.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/contrib/nway.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** nway.py 13 Aug 2003 14:39:35 -0000 1.2
--- nway.py 5 Sep 2003 01:15:28 -0000 1.3
***************
*** 62,66 ****
h = hammie.open(db, True, 'r')
score = h.score(msg)
! if score >= Options.options.spam_cutoff:
msg["X-Spambayes-Classification"] = "%s; %.2f" % (tag, score)
break
--- 62,66 ----
h = hammie.open(db, True, 'r')
score = h.score(msg)
! if score >= Options.options["Categorization", "spam_cutoff"]:
msg["X-Spambayes-Classification"] = "%s; %.2f" % (tag, score)
break
- Previous message: [Spambayes-checkins] spambayes dbExpImp.py, 1.7, NONE hammie.py,
1.46, NONE hammiecli.py, 1.4, NONE hammiefilter.py, 1.19,
NONE hammiesrv.py, 1.11, NONE imapfilter.py, 1.54,
NONE mailsort.py, 1.7, NONE mboxtrain.py, 1.12,
NONE notesfilter.py, 1.3, NONE pop3proxy.py, 1.97,
NONE proxytee.py, 1.4, NONE smtpproxy.py, 1.15,
NONE unheader.py, 1.10, NONE
- Next message: [Spambayes-checkins] spambayes/spambayes Options.py, 1.69,
1.70 OptionsClass.py, 1.11, 1.12 TestDriver.py, 1.3,
1.4 classifier.py, 1.8, 1.9 dbmstorage.py, 1.7, 1.8 hammie.py,
1.7, 1.8 storage.py, 1.27, 1.28 tokenizer.py, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Spambayes-checkins
mailing list