[PR PATCH] python: Add argparse samba options
douglas.bagnall at catalyst.net.nz
Tue May 8 22:04:19 UTC 2018
Github bot/David Mulder wrote:
> There is a new pull request by dmulder against master on the Samba Samba Github repository
> https://github.com/dmulder/samba argparse_getarg
> python: Add argparse samba options
> Creates samba.getarg, which mirrors the options in samba.getopt, accept these options work with the newer python argparse module (since optparse has been deprecated for some time).
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?).
More information about the samba-technical