diff options
author | Steve McIntyre <steve.mcintyre@linaro.org> | 2015-07-27 17:57:40 +0100 |
---|---|---|
committer | Steve McIntyre <steve.mcintyre@linaro.org> | 2015-07-27 17:57:40 +0100 |
commit | b826fc700496ac7acf95cad47154c31a8a42169b (patch) | |
tree | 54a59c2e18613b4be3bbd8c8e3c68ac66bdbdd92 /util.py | |
parent | 19ed41a3ff89c8570c32820f2df0c04624c0769f (diff) |
Misc small fixes after pylint checking
Change-Id: I85c7d98b0b717163ddefea35a2a022ce7c9c1973
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]: |