[Devel] Varius problems setuping planet.
Murray Cumming
murrayc at murrayc.com
Thu Jun 24 05:00:29 EST 2004
Maybe this should just go into the regular planet repository, with a
comment?
On Mon, 2004-06-21 at 19:47 -0500, Juan Pablo Mendoza wrote:
> Here is the patch, really simple stuff.
>
> --- planet-original/planetlib.py 2004-06-19 18:00:06.000000000 -0500
> +++ planet-nightly/planetlib.py 2004-06-21 19:44:06.000000000 -0500
> @@ -19,6 +19,7 @@
> import os
> import re
> import time
> +import string
>
> import feedparser
> import StringIO
> @@ -180,6 +181,8 @@
> """
> data = f.read()
>
> + data = string.replace (data, "<br/>", "<br />")
> +
> if hasattr(f, 'headers'):
> if gzip and f.headers.get('content-encoding', '') ==
> 'gzip':
> try:
>
>
>
--
Murray Cumming
murrayc at murrayc.com
www.murrayc.com
More information about the Devel
mailing list