From: Ethan Jackson Date: Thu, 16 Jun 2011 22:05:22 +0000 (-0700) Subject: xenserver: Fix use of undefined variable. X-Git-Tag: v1.2.0~160 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=766ca04358a78959c64dfe16cfa92045eb2e20ba xenserver: Fix use of undefined variable. Found with pylint. E:167:update_in_band_mgmt: Undefined variable 'bridge' Signed-off-by: Ethan Jackson --- diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync index 273ec04d8..d1ccc6f70 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"))