xenserver: Fix use of undefined variable.
authorEthan Jackson <ethan@nicira.com>
Thu, 16 Jun 2011 22:05:22 +0000 (15:05 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 17 Jun 2011 19:55:56 +0000 (12:55 -0700)
Found with pylint.

E:167:update_in_band_mgmt: Undefined variable 'bridge'

Signed-off-by: Ethan Jackson <ethan@nicira.com>
xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync

index 273ec04d894ca0837944f47d10d805452cd5dd80..d1ccc6f708b9df4b9a01a60c84d2d8b9d87d7957 100755 (executable)
@@ -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"))