aboutsummaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2015-07-27 17:57:40 +0100
committerSteve McIntyre <steve.mcintyre@linaro.org>2015-07-27 17:57:40 +0100
commitb826fc700496ac7acf95cad47154c31a8a42169b (patch)
tree54a59c2e18613b4be3bbd8c8e3c68ac66bdbdd92 /util.py
parent19ed41a3ff89c8570c32820f2df0c04624c0769f (diff)
Misc small fixes after pylint checking
Change-Id: I85c7d98b0b717163ddefea35a2a022ce7c9c1973
Diffstat (limited to 'util.py')
-rw-r--r--util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.py b/util.py
index d71a84a..864591e 100644
--- a/util.py
+++ b/util.py
@@ -260,7 +260,7 @@ class VlanUtil:
except IOError:
raise
-
+
except IOError:
# Bugger. Looks like one of the switch calls above
# failed. To undo the changes safely, we'll need to reset
@@ -775,7 +775,7 @@ class VlanUtil:
if not 'TrunkWildCardVlans' in s.switch_get_capabilities():
for port_id in trunk_ports:
port = db.get_port_by_id(port_id)
-
+
for vlan in db.all_vlans():
if vlan.vlan_id != state.default_vlan_id:
if not vlan.tag in port_vlans[port.name]: