Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv13991
Modified Files:
Tag: CORESVR
CoreUI.py
Log Message:
Avoid shadowing "header" loop vrbl. Correct capitalization.
Index: CoreUI.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/Attic/CoreUI.py,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** CoreUI.py 2 Jun 2007 21:42:08 -0000 1.1.2.6
--- CoreUI.py 6 Jun 2007 03:30:45 -0000 1.1.2.7
***************
*** 606,613 ****
sh.optionalHeaders = ''
h = self.html.headerHeader.clone()
! for header in options["html_ui", "display_headers"]:
h.headerLink.href = 'review?sort=%sHeader' % \
! (header.lower(),)
! h.headerName = header.title()
sh.optionalHeaders += h
if not options["html_ui", "display_score"]:
--- 606,613 ----
sh.optionalHeaders = ''
h = self.html.headerHeader.clone()
! for disp_header in options["html_ui", "display_headers"]:
h.headerLink.href = 'review?sort=%sHeader' % \
! (disp_header.lower(),)
! h.headerName = disp_header.title()
sh.optionalHeaders += h
if not options["html_ui", "display_score"]:
***************
*** 1029,1033 ****
else:
self.numUnsure += 1
! self.stats.recordClassification(score)
def buildStatusStrings(self):
--- 1029,1033 ----
else:
self.numUnsure += 1
! self.stats.RecordClassification(score)
def buildStatusStrings(self):
_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins