[Spambayes-checkins] spambayes/Outlook2000 addin.py,1.92,1.93

Mark Hammond mhammond at users.sourceforge.net
Sun Aug 10 18:24:22 EDT 2003


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

Modified Files:
	addin.py 
Log Message:
SpamClues shows the percentage as well as the raw score.


Index: addin.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/addin.py,v
retrieving revision 1.92
retrieving revision 1.93
diff -C2 -d -r1.92 -r1.93
*** addin.py	10 Aug 2003 07:49:11 -0000	1.92
--- addin.py	11 Aug 2003 00:24:20 -0000	1.93
***************
*** 445,449 ****
      # way to get this as text only.  Next best then is to use HTML, 'cos at
      # least we know how to exploit it!
!     body = ["<h2>Spam Score: %g</h2><br>" % score]
      push = body.append
      # Format the clues.
--- 445,449 ----
      # way to get this as text only.  Next best then is to use HTML, 'cos at
      # least we know how to exploit it!
!     body = ["<h2>Spam Score: %d%% (%g)</h2><br>" % (round(score*100), score)]
      push = body.append
      # Format the clues.





More information about the Spambayes-checkins mailing list