[Zope-dev] HTTPServer.py status BUG

Robin Becker robin@jessikat.demon.co.uk
Fri, 23 Jul 1999 16:28:35 +0100


there is a bug in the zhttp_handler.status method involving __int__

the following fixes this

*** HTTPServer.py.old   Tue Jul 20 17:56:06 1999
--- HTTPServer.py       Fri Jul 23 16:04:54 1999
***************
*** 269,275 ****
              <ul>
              <li><b>Published Module:</b> % s
              <li><b>Hits:</b> %d
!             </ul>""" %(self.module_name,int(self.hits))
              )
  
      # put and post collection methods
--- 269,275 ----
              <ul>
              <li><b>Published Module:</b> % s
              <li><b>Hits:</b> %d
!             </ul>""" %(self.module_name,self.hits.as_long())
              )
  
      # put and post collection methods

-- 
Robin Becker