ZeroDivisionError: float division by zero
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Dashboard |
Fix Released
|
Medium
|
Joe Talbott |
Bug Description
Traceback (most recent call last):
File "/usr/lib/
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/
return func(request, *args, **kwargs)
File "/srv/reports.
kpi_html = ext_man.
File "/srv/reports.
output = kpi_manager.
File "/srv/reports.
snippet += '{}\n'.
File "/srv/reports.
File "/srv/reports.
else:
ZeroDivisionError: float division by zero
Related branches
- Paul Larson: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 17 lines (+5/-3)1 file modifiedbootspeed/dashboard.py (+5/-3)
Changed in qa-dashboard: | |
importance: | Critical → Medium |
assignee: | nobody → Joe Talbott (joetalbott) |
Changed in qa-dashboard: | |
status: | Confirmed → Fix Committed |
15:08:04 ChrisS | cjohnston: I'm sure there's a more elegant way around it, but for now it's just: if old_average == 0: entries[ entry][ 'change' ] = 0 else: <original code>