summaryrefslogtreecommitdiff
path: root/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
diff options
context:
space:
mode:
Diffstat (limited to 'xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync')
-rwxr-xr-xxenserver/usr_share_openvswitch_scripts_ovs-xapi-sync3
1 files changed, 2 insertions, 1 deletions
diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
index 1b8d0a622..f6fbe851b 100755
--- a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
+++ b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
@@ -81,7 +81,8 @@ def get_network_by_bridge(br_name):
" XAPI session could not be initialized" % br_name)
return None
- recs = session.xenapi.network.get_all_records_where('field "bridge"="%s"' % br_name)
+ recs = session.xenapi.network.get_all_records_where(
+ 'field "bridge"="%s"' % br_name)
if len(recs) > 0:
return recs.values()[0]