yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80397
[Bug 1846360] Re: Pyroute2 can return dictionary keys in bytes instead of strings
Reviewed: https://review.opendev.org/686206
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=592b44629905d68b39ec92604b882627f4844908
Submitter: Zuul
Branch: master
commit 592b44629905d68b39ec92604b882627f4844908
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Wed Oct 2 16:14:05 2019 +0000
Convert Pyroute2 byte results to strings
Pyroute2 can return information structures with values as bytes
instead of strings. In order to unify the output, those byte
parameters will be converted to string. This is needed in case of
having dictionaries with keys as bytes instead of strings.
Change-Id: Ic665b2c5e28d06e21190f06d9f3f8e8f8c3c792d
Closes-Bug: #1846360
** 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/1846360
Title:
Pyroute2 can return dictionary keys in bytes instead of strings
Status in neutron:
Fix Released
Bug description:
Pyroute2 can return dictionary keys in bytes instead of strings. This
can cause the following error: http://paste.openstack.org/show/780851/
Pyroute2 structure returned (example):
http://paste.openstack.org/show/780852/
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1846360/+subscriptions
References