From: Koert van der Veer Date: Wed, 16 Apr 2014 08:57:16 +0000 (+0200) Subject: Fix uninitialized variable reference X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=30e5dae520535fbd759f4c12e184970afef854de;p=openstack-build%2Fneutron-build.git Fix uninitialized variable reference This was probably a copy&paste error. While physical_network is used in earlier loops, it isn't defined here. The identically named member variable was probably intended. Change-Id: I09e38321cf8670c62f4fdf9d99da1df737b2fc68 Closes-Bug: #1308421 --- diff --git a/neutron/plugins/linuxbridge/db/l2network_db_v2.py b/neutron/plugins/linuxbridge/db/l2network_db_v2.py index 4ad72bb9c..c9608cabd 100644 --- a/neutron/plugins/linuxbridge/db/l2network_db_v2.py +++ b/neutron/plugins/linuxbridge/db/l2network_db_v2.py @@ -84,7 +84,7 @@ def sync_network_states(network_vlan_ranges): "network %(physical_network)s" " from pool"), {'vlan_id': state.vlan_id, - 'physical_network': physical_network}) + 'physical_network': state.physical_network}) session.delete(state)