Reviewed: https://review.openstack.org/287666 Committed: https://git.openstack.org/cgit/openstack/python-swiftclient/commit/?id=17aa6c789e3c28e59be3b92e6fa65edb89077436 Submitter: Jenkins Branch: master
commit 17aa6c789e3c28e59be3b92e6fa65edb89077436 Author: Tim Burke <email address hidden> Date: Wed Mar 2 16:02:28 2016 +0000
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
Reviewed: https:/ /review. openstack. org/287666 /git.openstack. org/cgit/ openstack/ python- swiftclient/ commit/ ?id=17aa6c789e3 c28e59be3b92e6f a65edb89077436
Committed: https:/
Submitter: Jenkins
Branch: master
commit 17aa6c789e3c28e 59be3b92e6fa65e db89077436
Author: Tim Burke <email address hidden>
Date: Wed Mar 2 16:02:28 2016 +0000
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 from_argparse_ arguments helper methods. Now that we're moving
load_
toward Keystone Session support, argparse seems required.
Closes-Bug: 1553030 3010680090fd043 45f95c55c7b
Change-Id: I5139fb64a8631a