[spambayes-dev] Re: [Spambayes-checkins] spambayes/spambayes message.py, 1.40, 1.41

Richie Hindle richie at entrian.com
Wed Nov 26 17:09:48 EST 2003


[Me, applying patch 831388]
> disp = ("%."+str(options["Headers", "header_score_digits"])+"f") % prob

[Sjoerd]
> This can be done with
> disp = "%.*f" % (options["Headers", "header_score_digits"], prob)
> which looks more readable to me.

You're right, that is better.  Checked in as message.py 1.43 - thanks!

-- 
Richie Hindle
richie at entrian.com




More information about the spambayes-dev mailing list