Closed Bug 1117836 Opened 9 years ago Closed 9 years ago

convert talos compare.py from optparse to argparse

Categories

(Testing :: Talos, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: vidya.vnv)

References

Details

(Whiteboard: [good next bug][lang=python])

Attachments

(1 file)

in talos we have a standalone script compare.py which takes commandline arguments.  It would be really nice to convert the script to use argparse instead of optparse.  Here is some information about converting that:
https://argparse.googlecode.com/svn/trunk/doc/argparse-vs-optparse.html
Attachment #8544816 - Flags: review?(jmaher)
Comment on attachment 8544816 [details] [diff] [review]
Shifting to argparse module from optparse

Review of attachment 8544816 [details] [diff] [review]:
-----------------------------------------------------------------

thank you!  This is wonderful
Attachment #8544816 - Flags: review?(jmaher) → review+
Thanks again for doing this!  It is great.  I will look forward to a patch for the xtalos.py conversion in the near future.
Assignee: nobody → vidya.vnv
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: