aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2014-12-23 16:52:23 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2014-12-23 16:52:23 +0000
commitd07c857e04b3d3a3b8b45bc2085644030239a656 (patch)
tree9785c1d1e2def0aa91425eea3c6c05f62e6aa8d0
parentb9783ff64b9be96b1387e6e253fa5eade8b27708 (diff)
downloadvland-d07c857e04b3d3a3b8b45bc2085644030239a656.tar.gz
Clean up probe_switches output
Change-Id: I204b39e5bc47a4caaeb05ca59864535d943650cc
-rw-r--r--admin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin.py b/admin.py
index d7495b5..0aa2104 100644
--- a/admin.py
+++ b/admin.py
@@ -554,8 +554,7 @@ elif opts.auto_import_switch:
elif opts.probe_switches:
print 'Asking VLANd to probe all the configured switches'
ret = call_vland('daemon_query',{'command':'daemon.probe_switches', 'data': None})
- print 'VLANd says:'
for field in ret:
- print '%s: %s' % (field, ret['field'])
+ print '%s: %s' % (field, ret[field])
else:
print 'No recognised command given. Try -h for help'