Found with pylint.

E:167:update_in_band_mgmt: Undefined variable 'bridge'

Signed-off-by: Ethan Jackson <[email protected]>
---
 .../usr_share_openvswitch_scripts_ovs-xapi-sync    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync 
b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
index 273ec04..d1ccc6f 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"))
-- 
1.7.5.2

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to