diff options
author | Steve McIntyre <steve.mcintyre@linaro.org> | 2014-12-23 14:06:05 +0000 |
---|---|---|
committer | Steve McIntyre <steve.mcintyre@linaro.org> | 2014-12-23 14:06:05 +0000 |
commit | f8aac9e8d9661fc2d934f9d97f607979239fd2d5 (patch) | |
tree | 74f16ba8122cd17c4d5b177d20d75ff69050a264 /util.py | |
parent | cc25b5ce5ba6a6f03ca069be3e701dce23a92ddd (diff) |
Use the right variable name for switch_name
Change-Id: I761f62cfc2b08ba348c76137a3f658121b115739
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ class VlanUtil: s.switch_connect(config.switches[switch_name].username, config.switches[switch_name].password, config.switches[switch_name].enable_password) - ret[switch] = 'Found switch %s with %d ports' % (switch, len(s.switch_get_port_names())) + ret[switch_name] = 'Found switch %s with %d ports' % (switch_name, len(s.switch_get_port_names())) s.switch_disconnect() del(s) |