diff options
author | Tim Burke <tim.burke@gmail.com> | 2016-03-02 16:02:28 +0000 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2016-04-06 14:20:27 -0700 |
commit | 17aa6c789e3c28e59be3b92e6fa65edb89077436 (patch) | |
tree | 2795e912773b08fef590bab2b9e93bcb09198658 /tests/unit/test_swiftclient.py | |
parent | 985c03820926a16b9592c8857379741c496a880b (diff) | |
download | python-swiftclient-17aa6c789e3c28e59be3b92e6fa65edb89077436.tar.gz |
Port from optparse to argparse
Why now?
* argparse was introduced in Python 3.2 and back-ported to Python 2.7.
Until we dropped Python 2.6 support, we were stuck on optparse.
* keystoneauth.loading.cli provides register_argparse_arguments and
load_from_argparse_arguments helper methods. Now that we're moving
toward Keystone Session support, argparse seems required.
Closes-Bug: 1553030
Change-Id: I5139fb64a8631a3010680090fd04345f95c55c7b
Diffstat (limited to 'tests/unit/test_swiftclient.py')
0 files changed, 0 insertions, 0 deletions