Fixes bug 887278. The disk usage graph will now be drawn correctly.
Change-Id: I75cf87e409fefa701eea5019f2449757e55eba2f
This commit is contained in:
parent
c9728e7868
commit
3b8e20d059
@ -262,7 +262,7 @@ def disk_usage(hosts):
|
||||
lows.append(low)
|
||||
averages.append(average)
|
||||
for percent in stats[url]:
|
||||
percents[percent] = percents.get(percent, 0) + 1
|
||||
percents[int(percent)] = percents.get(int(percent), 0) + 1
|
||||
else:
|
||||
print "-> %s: Error. No drive info available." % url
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user