From 766ca04358a78959c64dfe16cfa92045eb2e20ba Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Thu, 16 Jun 2011 15:05:22 -0700 Subject: [PATCH] xenserver: Fix use of undefined variable. Found with pylint. E:167:update_in_band_mgmt: Undefined variable 'bridge' Signed-off-by: Ethan Jackson --- xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync index 273ec04d..d1ccc6f7 100755 --- a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync +++ b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync @@ -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")) -- 2.30.2