[Spambayes-checkins] spambayes/Outlook2000 addin.py,1.143,1.144
Tony Meyer
anadelonbrin at users.sourceforge.net
Mon Dec 20 05:24:57 CET 2004
Update of /cvsroot/spambayes/spambayes/Outlook2000
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9431/Outlook2000
Modified Files:
addin.py
Log Message:
Round the original score, don't truncate - otherwise it looks like the scores don't
match!
Index: addin.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/addin.py,v
retrieving revision 1.143
retrieving revision 1.144
diff -C2 -d -r1.143 -r1.144
*** addin.py 20 Dec 2004 03:40:26 -0000 1.143
--- addin.py 20 Dec 2004 04:24:54 -0000 1.144
***************
*** 485,488 ****
--- 485,489 ----
push("This message has not been filtered.")
else:
+ original_score = round(original_score)
push("When this message was last filtered, it was classified " \
"as %s (it scored %d%%)." % (original_class, original_score))
More information about the Spambayes-checkins
mailing list