Fixes bug 887278. The disk usage graph will now be drawn correctly.

Change-Id: I75cf87e409fefa701eea5019f2449757e55eba2f
This commit is contained in:
Florian Hines 2011-11-07 19:34:08 +00:00
parent c9728e7868
commit 3b8e20d059

View File

@ -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