2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-25 15:07:05 +00:00

xenserver: Fix use of undefined variable.

Found with pylint.

E:167:update_in_band_mgmt: Undefined variable 'bridge'

Signed-off-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
Ethan Jackson
2011-06-16 15:05:22 -07:00
parent 33f802ca66
commit 766ca04358

View File

@@ -164,7 +164,7 @@ def update_in_band_mgmt(name):
else:
s_log.warning('"' + dib + '"'
"isn't a valid setting for other_config:disable-in-band on " +
bridge)
name)
def update_bridge_id(name, ids):
id = get_bridge_id(name, ids.get("xs-network-uuids"))