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