From 30e5dae520535fbd759f4c12e184970afef854de Mon Sep 17 00:00:00 2001 From: Koert van der Veer Date: Wed, 16 Apr 2014 10:57:16 +0200 Subject: [PATCH] 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 --- neutron/plugins/linuxbridge/db/l2network_db_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2