[anaconda][master][PATCH] Use argparse
Martin Kolman
mkolman at redhat.com
Thu May 15 15:17:34 UTC 2014
So I've switched Anaconda from optparse to argparse.
We had a fair share of optparse specific hacks (using undocumented classes and
even some "private" underscored methods) I had to make work with argparse but
so far it seems to work fine - both when running Anaconda from CLI and when parsing
boot options during installation.
Martin Kolman (1):
Switch Anaconda to argparse
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
--
1.9.0
More information about the anaconda-patches
mailing list