← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1553030] Re: Change optparse to argparse, optparse is Deprecated since python version 2.7

 

Reviewed:  https://review.openstack.org/541619
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=9e5186b95bba51d911a0de9e6d6bd412c478aef4
Submitter: Zuul
Branch:    master

commit 9e5186b95bba51d911a0de9e6d6bd412c478aef4
Author: Zhao Chao <zhaochao1984@xxxxxxxxx>
Date:   Wed Feb 7 16:16:53 2018 +0800

    Remove unused optparse code in trove.db
    
    add_options in trove.db is not used for a long time, and this is the
    same situation fofr optparse in python 2.7, so we can safely remove
    this part from trove.db.
    
    Closes-Bug: #1553030
    Change-Id: I17228eed5c122bce49ce80ec665fe73d6caa1e04
    Signed-off-by: Zhao Chao <zhaochao1984@xxxxxxxxx>


** Changed in: trove
       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):
  Fix Released

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