On Tue, 2003-08-26 at 17:06, Matthew Galgoci wrote:
> Hi Folks!
Hi Matthew!
> I checked Mailman 2.1.2 to see if any of this is still done, and apparently the
> decompression issue still is, at
> least in the copy I have here. (haven't checked cvs head). Here's my version of a
> fix for this:
>
> --- mailman-2.1.2/Mailman/Cgi/private.py.orig 2003-08-26 16:46:16.000000000 -0400
> +++ mailman-2.1.2/Mailman/Cgi/private.py 2003-08-26 16:47:21.000000000 -0400
> @@ -148,8 +148,8 @@
> mlist.internal_name() + '.mbox'))
> ctype = 'text/plain'
> elif true_filename.endswith('.gz'):
> - import gzip
> - f = gzip.open(true_filename, 'r')
> + ctype = 'application/x-gzip'
> + f = open(true_filename, 'r')
> else:
> f = open(true_filename, 'r')
> except IOError:
Could you please submit a SF patch on this? Less of a chance of getting
lost in my inbox. ;)
-Barry
_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers