Reviewed: https://review.openstack.org/508729 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=1c13d8a232f1d129285aa2c494072fe796266ade Submitter: Zuul Branch: master
commit 1c13d8a232f1d129285aa2c494072fe796266ade Author: Sean McGinnis <[email protected]> Date: Sun Oct 1 07:08:00 2017 -0500 Remove use of deprecated optparse module The optparse module has been deprecated for some time and all apps should be updated to use argparse instead. This switches our one remaining command that was using it to the newer argparse usage. Change-Id: I8f801fb804515ecf2a8b402b2923135379730098 Closes-bug: #1553030 ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1553030 Title: Change optparse to argparse, optparse is Deprecated since python version 2.7 Status in Glance: Fix Released Status in oslo-incubator: Won't Fix Status in python-swiftclient: Fix Released Status in OpenStack Object Storage (swift): In Progress Status in OpenStack DBaaS (Trove): New Bug description: In glance currently we use optparse.So we can move optparse to argparse because optparse is deprecated since python version2.7. Related link:- https://docs.python.org/2/library/optparse.html To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1553030/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

