[Spambayes-checkins] spambayes/spambayes message.py,1.42,1.43

Richie Hindle richiehindle at users.sourceforge.net
Wed Nov 26 17:09:53 EST 2003


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

Modified Files:
	message.py 
Log Message:
Sjoerd's improved version of patch 831388.


Index: message.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/message.py,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** message.py	26 Nov 2003 00:34:32 -0000	1.42
--- message.py	26 Nov 2003 22:09:51 -0000	1.43
***************
*** 343,347 ****
  
          if options['Headers','include_score']:
!             disp = ("%."+str(options["Headers", "header_score_digits"])+"f") % prob
              if options["Headers", "header_score_logarithm"]:
                  if prob<=0.005 and prob>0.0:
--- 343,347 ----
  
          if options['Headers','include_score']:
!             disp = "%.*f" % (options["Headers", "header_score_digits"], prob)
              if options["Headers", "header_score_logarithm"]:
                  if prob<=0.005 and prob>0.0:





More information about the Spambayes-checkins mailing list