[mod_python] Request.hlist dictionary

Jim Gallacher jpg at jgassociates.ca
Tue Oct 24 17:10:18 EDT 2006


Clodoaldo Pinto Neto wrote:
> I'm using mod_python 3.2.8 in Fedora Core 5
> 
> When using the Publisher handler the returned dictionary from
> Request.hlist is missing a single quote:
> 
> def index(req):
>   return """\
> <html><body>
> <p>%s</p>
> </body></html>
> """ % req.hlist
> 
> {'handler:'mod_python.publisher','directory':'/var/www/html/teste/python/publisher/','silent':0} 
> 
> 
> The missing single quote should be delimiting the 'handler' key: {'handler
> 
> Sorry if it has already been fixed in 3.2.10.

It looks ok in the development branch. We'll have a 3.3.x release coming 
out fairly from that branch shortly - if all goes well. :)

Jim



More information about the Mod_python mailing list