From: YAMAMOTO Takashi Date: Tue, 4 Aug 2015 09:47:51 +0000 (+0900) Subject: _get_dvr_sync_data: Return a list, rather than dict_values for python3 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=47277ffde3de8e318f033a303da1553a89419d90;p=openstack-build%2Fneutron-build.git _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 --- 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."""