New issue
Advanced search Search tips

Issue 608478 link

Starred by 0 users

Issue metadata

Status: Archived
Owner: ----
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Change webkitpy code to use argparse rather than optparse.

Project Member Reported by qyears...@chromium.org, May 2 2016

Issue description

This is not urgent -- but over time it would be good to switch from optparse to argparse, since optparse is deprecated and argparse is the officially-recommended argument parser library for Python.
 
Project Member

Comment 1 by bugdroid1@chromium.org, May 4 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d71f4df61e5fcde12f83f27da9e228b7cf143a66

commit d71f4df61e5fcde12f83f27da9e228b7cf143a66
Author: qyearsley <qyearsley@chromium.org>
Date: Wed May 04 20:05:07 2016

Add more detail to the layout test server cli_wrapper command help.

Also in this CL, related minor changes:
 - Switch from optparse to argparse
 - Update the module-level docstring

BUG= 608478 

Review-Url: https://codereview.chromium.org/1935263002
Cr-Commit-Position: refs/heads/master@{#391611}

[modify] https://crrev.com/d71f4df61e5fcde12f83f27da9e228b7cf143a66/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/cli_wrapper.py

Labels: Hotlist-CodeHealth
Status: Archived (was: Available)

Sign in to add a comment