Public bug reported:
Currently l3_router.service_providers.DriverController._attrs_to_driver has the
following:
...
drivers = self.drivers.values()
# make sure default is tried before the rest if defined
if self.default_provider:
drivers.insert(0, self.drivers[self.default_provider])
As in python3 dict.values() gives back "dict_values" instead of list, insert
will fail with:
"AttributeError: 'dict_values' object has no attribute 'insert'"
** Affects: neutron
Importance: Undecided
Assignee: Lajos Katona (lajos-katona)
Status: New
** Tags: trivial
** Tags added: trivial
** Changed in: neutron
Assignee: (unassigned) => Lajos Katona (lajos-katona)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1923423
Title:
l3_router.service_providers DriverController's _attrs_to_driver is not
py3 compatible
Status in neutron:
New
Bug description:
Currently l3_router.service_providers.DriverController._attrs_to_driver has
the following:
...
drivers = self.drivers.values()
# make sure default is tried before the rest if defined
if self.default_provider:
drivers.insert(0, self.drivers[self.default_provider])
As in python3 dict.values() gives back "dict_values" instead of list, insert
will fail with:
"AttributeError: 'dict_values' object has no attribute 'insert'"
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1923423/+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