#3233 Fix setting up the list of active milestones
Merged by pingou. Opened by pingou.
fix_empty_milestone  into  master

Download 3233.patch

This fixes an issue seen in production, the root cause was that the project
managed to get in an empty milestone in repo.milestones_keys which wasn't
in repo.milestones. So when iterating over the keys, we were raising a KeyError.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

:thumbsup:

rebased onto aae9cc1b4984f9d6b82c419e02ad67f349da0060

rebased onto 14832556b67ef9ac6cad389d6b138ef22b194e06

And now with tests :)

:thumbsup: :thumbsup: :)

Pull-Request has been merged by pingou

Metadata