[Teammetrics-discuss] Any luck with mbox-converter (Was: Converter for mboxes)
andreas at an3as.eu
Wed Sep 7 13:47:23 UTC 2011
any luck in testing the importer using
from __future__ import with_statement
as suggested? If not please keep us informed to make sure we get the
On Tue, Aug 30, 2011 at 01:12:34PM +0530, Sukhbir Singh wrote:
> > ./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.
> > 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 :)
> > 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.
> BTW, we have tested the script with Python 2.6.6 and found no problems at all.
> Teammetrics-discuss mailing list
> Teammetrics-discuss at lists.alioth.debian.org
More information about the Teammetrics-discuss