Files
swift/test/unit/__init__.py
Clay Gerrard f4adb2f28f Fix ZeroDivisionError in reconstructor.stats_line
Despite a check to prevent zero values in the denominator python
integer division could result in ZeroDivisionError in the compute_eta
helper function.  Make sure we always have a non-zero value even if it
is small.

NotImplemented:

 * stats calculation is still not great, see lp bug #1488608

Closes-Bug: #1549110
Change-Id: I54f2081c92c2a0b8f02c31e82f44f4250043d837
2016-11-07 18:19:20 -08:00

35 KiB