diff options
-rw-r--r-- | admin.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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' |