← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1582541] Re: Segments: atrributes deprcation warning

 

Reviewed:  https://review.openstack.org/317273
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=f0d99d54999f1cac75fc1b1280fa332798c9d175
Submitter: Jenkins
Branch:    master

commit f0d99d54999f1cac75fc1b1280fa332798c9d175
Author: Gary Kotton <gkotton@xxxxxxxxxx>
Date:   Mon May 16 23:36:18 2016 -0700

    Segment: remove deprecation warning for converters
    
    Remove warning:
        neutron.api.v2.attributes.convert_to_int()' has moved to
        'neutron_lib.api.converters.convert_to_int()' in version
        'mitaka' and will be removed in version 'ocata': moved to
        neutron_lib
    
    Change-Id: I0f6622b685a6b9ab030a13113badbefb729be013
    Closes-bug: #1582541


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1582541

Title:
  Segments: atrributes deprcation warning

Status in neutron:
  Fix Released

Bug description:
  {2}
  neutron.tests.unit.extensions.test_segment.TestSegment.test_create_segment_no_phys_net
  [0.313844s] ... ok

  Captured stderr:
  ~~~~~~~~~~~~~~~~
      neutron/api/v2/attributes.py:428: DeprecationWarning: Function 'neutron.api.v2.attributes.convert_to_int()' has moved to 'neutron_lib.api.converters.convert_to_int()' in version 'mitaka' and will be removed in version 'ocata': moved to neutron_lib
        res_dict[attr] = attr_vals['convert_to'](res_dict[attr])

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1582541/+subscriptions


References