From: Ethan Jackson Date: Thu, 16 Jun 2011 22:05:22 +0000 (-0700) Subject: xenserver: Fix use of undefined variable. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=766ca04358a78959c64dfe16cfa92045eb2e20ba;p=openvswitch 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 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"))