[PR PATCH] python: Add argparse samba options

David Mulder dmulder at suse.com
Wed May 9 13:30:16 UTC 2018


> I agree that argparse is very much nicer than optparse, but it was
> introduced in Python 2.7 and we have to support 2.6 until the death of
> RHEL6 (and SUSE 11?).
Ah, I guess I should have checked the age of argparse (did not think of
this). Well, this doesn't *replace* getopt.py, just provides a version
that uses argparse also. Is anybody backporting new code to older
distros that need optparse?
>
> cheers,
> Douglas
>

-- 
David Mulder
SUSE Labs Software Engineer - Samba
dmulder at suse.com
SUSE Linux GmbH, GF: Felix Imend├Ârffer, Jane Smithard, Graham Norton, HRB 21284 (AG N├╝rnberg)




More information about the samba-technical mailing list