Skip to content
  • Jonah Bishop's avatar
    Change percent_complete rescue value from 100 to 0 · 0e616e48782e
    Jonah Bishop authored
    The percent_complete method returns a value of 100 when a
    ZeroDivisionError occurs. That seems like a very strange default for an
    error case, and results in a bug when a milestone has no corresponding
    issues (new, empty milestones show 100% completion). This commit changes
    the rescue value to 0, and subsequently fixes #1656, which reported this
    problem.
    0e616e48782e
To find the state of this project's repository at the time of any of these versions, check out the tags.