diff options
author | Russell Bryant <russell@ovn.org> | 2015-12-11 22:28:31 -0500 |
---|---|---|
committer | Russell Bryant <russell@ovn.org> | 2016-01-05 18:13:47 -0500 |
commit | bdca6c4b56b9951b95c02f1fc13cbc78b16eee28 (patch) | |
tree | cd1397a6b6a48e4dfac56e999d8a09d0e35578c4 /xenserver | |
parent | e8049bc5e807bc7065462f60b703469915f8b4d5 (diff) | |
download | openvswitch-bdca6c4b56b9951b95c02f1fc13cbc78b16eee28.tar.gz |
python: Resolve pep8 blank line errors.
Resolve pep8 errors E302 and E303:
E302 expected 2 blank lines, found 1
E303 too many blank lines (3)
Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'xenserver')
-rwxr-xr-x | xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync index cb1f175a6..583356c36 100755 --- a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync +++ b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync @@ -87,6 +87,7 @@ def get_network_by_bridge(br_name): return None + # There are possibilities when multiple xs-network-uuids are set for a bridge. # In cases like that, we should choose the bridge-id associated with the bridge # name. @@ -101,6 +102,7 @@ def get_single_bridge_id(bridge_ids, br_name, default=None): xapi_down = True return default + # By default, the "bridge-id" external id in the Bridge table is the # same as "xs-network-uuids". This may be overridden by defining a # "nicira-bridge-id" key in the "other_config" field of the network |