[Twisted-Python] Re: [Twisted-commits] Fix call to non-existent function, remove unused import

Paul Boehm typo at soniq.net
Wed Jun 25 11:49:56 EDT 2003


On Wed, Jun 25, 2003 at 07:35:54AM -0500, spiv CVS wrote:
> Index: Twisted/twisted/web/html.py
> diff -u Twisted/twisted/web/html.py:1.16 Twisted/twisted/web/html.py:1.17
> --- Twisted/twisted/web/html.py:1.16	Thu Jun 12 19:28:34 2003
> +++ Twisted/twisted/web/html.py	Wed Jun 25 07:35:53 2003
[...]
>  def PRE(text):
>      "Wrap <pre> tags around some text and escape it with web.escapehtml."
> -    return "<pre>"+escapehtml(text)+"</pre>"
> +    return "<pre>"+escape(text)+"</pre>"
[...]

documentation for PRE is out of synch




More information about the Twisted-Python mailing list