[spambayes-dev] testtools/mkgraph.py
Eli Stevens
listsub at wickedgrey.com
Sat Jan 10 02:06:27 EST 2004
I forgot to mention this earlier. While playing with the mkgraph.py script
last evening, I got the following error:
<>> python mkgraph.py < output/perfect1.out
$ Data=Curve2d
Traceback (most recent call last):
File "mkgraph.py", line 172, in ?
main()
File "mkgraph.py", line 169, in main
outputset()
File "mkgraph.py", line 77, in outputset
print '% toplabel="%s Error Rates"' % (title)
ValueError: unsupported format character 't' (0x74) at index 2
When I made the following simple change, things started working:
<>> cvs diff mkgraph.py
Index: mkgraph.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/testtools/mkgraph.py,v
retrieving revision 1.3
diff -r1.3 mkgraph.py
77c77
< print '% toplabel="%s Error Rates"' % (title)
---
> print '%% toplabel="%s Error Rates"' % (title)
I'd assume it's a typo, but look at how it's spelled... ;) This line was
introduced in revision 1.2.
Eli
More information about the spambayes-dev
mailing list