Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-875

Port from optparse to argparse

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • 2
    • Testable

      optparse in the Python stdlib is deprecated and no longer maintained.  Switch to argparse instead.

      argparse is available since Python-2.7.so we can do this now that we've dropped support for RHEL6/Python-2.6.

      This fixes the only occurrence of the pylint deprecated-module warning.
       

              rolivier@redhat.com Rodolfo Olivieri
              tkuratom@redhat.com Toshio Kuratomi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: