greenelab / scrumlord

Continuous administration of the Greene Lab's electronic scrum
BSD 3-Clause "New" or "Revised" License
13 stars 8 forks source link

Keep the script from trying to compare Issue objects #7

Closed ben-heil closed 3 years ago

ben-heil commented 3 years ago

The script for producing new issues sorts the current issue titles' dates and looks for the most recent one. Due to the way the data structures were set up, if the date was not unique, it would then try to sort issues by Issue objects. Because Issue objects don't have a comparison operator, the bot ran fine for years until a duplicate date popped up somewhere and broke everything.

This PR fixes that issue

ben-heil commented 3 years ago

@dhimmel can you merge the PR? I don't have write permissions on this repo