[PATCH] Switch Anaconda to argparse

Chris Lumens clumens at redhat.com
Thu May 15 19:50:56 UTC 2014


> Optparse is deprecated since Python 2.7 and unlike argparse will not be developer
> further.
> 
> Signed-off-by: Martin Kolman <mkolman at redhat.com>
> ---
>  anaconda                        | 153 ++++++++++-----------
>  pyanaconda/anaconda_argparse.py | 294 ++++++++++++++++++++++++++++++++++++++++
>  pyanaconda/anaconda_optparse.py | 250 ----------------------------------
>  3 files changed, 371 insertions(+), 326 deletions(-)
>  create mode 100644 pyanaconda/anaconda_argparse.py
>  delete mode 100644 pyanaconda/anaconda_optparse.py

Aside from the previous typo comment, this looks fine to me.  I don't
know how much work went into anaconda_argparse.py but if you feel it was
significant, you should add yourself as an author up at the top.

- Chris


More information about the anaconda-patches mailing list