aboutsummaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2014-12-23 16:53:39 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2014-12-23 16:53:39 +0000
commite8d8058de0f83d9f490849dff3ca4487b7d46bdd (patch)
tree9519eeef82151fd00dd0d7c2b9b7f77c387a0541 /util.py
parentd07c857e04b3d3a3b8b45bc2085644030239a656 (diff)
Fix probe_switches()
Change-Id: I25953be83ede4e9edea7c5c97266420b965b10d9
Diffstat (limited to 'util.py')
-rw-r--r--util.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/util.py b/util.py
index 3c68040..5ce629f 100644
--- a/util.py
+++ b/util.py
@@ -15,11 +15,10 @@ class VlanUtil:
def probe_switches(self, state):
config = state.config
+ ret = {}
for switch_name in sorted(config.switches):
print "Found switch %s:" % (switch_name)
- print " Probing:"
-
- ret = {}
+ print " Probing..."
s = self.get_switch_driver(switch_name, config)
s.switch_connect(config.switches[switch_name].username,