[Teammetrics-discuss] Any luck with mbox-converter (Was: Converter for mboxes)

Andreas Tille andreas at an3as.eu
Wed Sep 7 13:47:23 UTC 2011


Hi,

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
converter running.

Kind regards

      Andreas.

On Tue, Aug 30, 2011 at 01:12:34PM +0530, Sukhbir Singh wrote:
> 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.
> 
> > 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
> http://lists.alioth.debian.org/mailman/listinfo/teammetrics-discuss
> 

-- 
http://fam-tille.de



More information about the Teammetrics-discuss mailing list