From 47277ffde3de8e318f033a303da1553a89419d90 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 4 Aug 2015 18:47:51 +0900 Subject: [PATCH] _get_dvr_sync_data: Return a list, rather than dict_values for python3 Align with the non-dvr case. Blueprint: neutron-python3 Change-Id: I37d24875be530f200118374e9f8046f32a902c8e --- neutron/db/l3_dvr_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/db/l3_dvr_db.py b/neutron/db/l3_dvr_db.py index 47fbbc63f..ff20cbb22 100644 --- a/neutron/db/l3_dvr_db.py +++ b/neutron/db/l3_dvr_db.py @@ -475,7 +475,7 @@ class L3_NAT_with_dvr_db_mixin(l3_db.L3_NAT_db_mixin, ports_to_populate += interfaces self._populate_subnets_for_ports(context, ports_to_populate) self._process_interfaces(routers_dict, interfaces) - return routers_dict.values() + return list(routers_dict.values()) def _get_vm_port_hostid(self, context, port_id, port=None): """Return the portbinding host_id.""" -- 2.45.2