[mod_python] servlet _HTML little bug

Daniel Popowich dpopowich at comcast.net
Mon Aug 2 16:09:35 EDT 2004


> al line 711 of _HTML:
> 
> def Image(src, **attrs):
>     i = apply(IMG, (), a)<------- a instead of attrs
> 

As I mentioned in the tutorial, _HTML.py is a re-packaging of
HyperText (http://dustman.net/andy/python/HyperText) in one module,
so I could easily include it in my tutorial without having to require
users to download a third-party package.

Anyway, this bug is in his package.  I will pass it on.

Daniel
-----------------------------------------------
http://home.comcast.net/~d.popowich/mpservlets/

PS

If you are actively developing with the code in _HTML.py I'd
recommend switching to the real HyperText python package.  I make no
guarantees for it other than it works for my tutorial!




More information about the Mod_python mailing list