[Teammetrics-discuss] Converter for mboxes (Was: Debian mailing lists archives as mbox)
Alexander Wirt
formorer at formorer.de
Tue Aug 30 07:50:42 UTC 2011
Sukhbir Singh schrieb am Dienstag, den 30. August 2011:
> Hi,
>
> > ./mboxfilter.py:51: Warning: 'with' will become a reserved keyword in Python
> > 2.6
> > File "./mboxfilter.py", line 51
> > with open(mbox_file) as f:
>
> This is because I *assumed* you would run this with Python 2.6+. I can
> fix this to run with 2.5 also (or just add `from __future__ import
> with_statement`) at the top.
Why? is 2.6 default on stable now? python2.6 is not installed on liszt and I don't
think we should install it just for this script.
> > I said you perl would be better.
>
> I don't know Perl at all and Python is the language of the project and
> hence this was done in that also. I think we should not make it a Perl
> vs Python thing, when I am ready to fix it as you want :)
Yeah. But I had time for the thing yesterday and it didn't worked. With perl
I would have been able to fix it on my own. Thats why we said perl is
preferred.
>
> > P.S. next time you package stuff, please add them them into a directory.
> > extracting into the root isn't that nice.
>
> We save the filtered mbox in the directory of the mbox file that was
> passed to the script. As nothing was specified to us, we took this
> approach. Let me know your preferences and I will add them.
Ehm I am talking about the tgz the script was in.
Alex
--
Alexander Wirt, formorer at formorer.de
CC99 2DDD D39E 75B0 B0AA B25C D35B BC99 BC7D 020A
More information about the Teammetrics-discuss
mailing list