[Spambayes-checkins] spambayes/spambayes ProxyUI.py,1.64,1.64.2.1 Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv14398

Modified Files:
      Tag: CORESVR
	ProxyUI.py 
Log Message:
Avoid shadowing "header" loop vrbl.


Index: ProxyUI.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/ProxyUI.py,v
retrieving revision 1.64
retrieving revision 1.64.2.1
diff -C2 -d -r1.64 -r1.64.2.1
*** ProxyUI.py	28 Nov 2005 10:54:18 -0000	1.64
--- ProxyUI.py	6 Jun 2007 03:31:25 -0000	1.64.2.1
***************
*** 619,626 ****
                      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"]:
--- 619,626 ----
                      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"]:

_______________________________________________
Spambayes-checkins mailing list
pnperxdpv-sarswdlp@python.org
http://mail.python.org/mailman/listinfo/spambayes-checkins


