[Freeipa-devel] [PATCH 66] Replace broken i18n shell test with Python test

John Dennis jdennis at redhat.com
Thu Mar 22 21:32:36 UTC 2012


On 03/22/2012 02:59 PM, Petr Viktorin wrote:
> Some of the option parsing code is reinventing the wheel a bit. The rest
> of the project uses optparse.OptionParser, it'd be nice to switch to that.

Are you aware that optparse is deprecated in Python?

argparse replaces it but is only available in Python >= 2.7 so that's 
not an option (no pun intended)

I suppose I could convert to optparse for project consistency even if 
it's deprecated.

-- 
John Dennis <jdennis at redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/




More information about the Freeipa-devel mailing list