Fix code formatting issues.
This commit is contained in:
parent
fdc71a8f55
commit
fc51468874
|
@ -686,9 +686,9 @@ def speedtest():
|
|||
'%(latency)s ms' % best)
|
||||
else:
|
||||
if args.collectd:
|
||||
print_('PUTVAL "%s/speedtest/latency-latency_ms" interval=%d N:%d' %
|
||||
(socket.gethostname(), args.collectd_interval,
|
||||
best['latency']))
|
||||
print_('PUTVAL "%s/speedtest/latency-latency_ms" '
|
||||
'interval=%d N:%d' % (socket.gethostname(),
|
||||
args.collectd_interval, best['latency']))
|
||||
else:
|
||||
print_('Ping: %(latency)s ms' % best)
|
||||
|
||||
|
@ -780,6 +780,7 @@ def speedtest():
|
|||
if args.collectd:
|
||||
time.sleep(args.collectd_interval)
|
||||
|
||||
|
||||
def main():
|
||||
try:
|
||||
speedtest()
|
||||
|
|
Loading…
Reference in New Issue