[PATCH v3 09/10] parsemail: Convert to a management command

Daniel Axtens dja at axtens.net
Fri Sep 2 08:35:55 AEST 2016


Stephen Finucane <stephenfinucane at hotmail.com> writes:

>> > +from email import message_from_file
>> > +import logging
>> > +from optparse import make_option
>> As I mentioned for v2, this should be moved to argparse for Django 1.10
>> compatibility. 
>
> This breaks compatibility with Django 1.6 though, which we stillneed to support. I'll probably implement a compat library, but I'lldo this in a follow-up. Is that OK by you?
Oh, I didn't realise that. A follow-up is totally OK in this situation
then.

Reviewed-by: Daniel Axtens <dja at axtens.net>

Daniel
> Stephen 		 	   		  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20160902/8e0cfa83/attachment.sig>


More information about the Patchwork mailing list