Comment 1 for bug 416393

Revision history for this message
Paul Elms (scifly) wrote :

I've attached a quick patch that fixes this bug. The bug occurs because the close_bugs function removes the bug number from the bugs list after finding the first matching line on the wiki page. Subsequent wiki lines that match LINE_RE with the same bug number, cannot remove the bug number from bugs as it has already been removed, and the script crashes. A quick check that the bugs list contains the bug nr before removing nr seems the easiest solution to this.
Feel free to ignore this if you have a more elegant solution :)