convert xml.dom.minidom.Attr value to int in reviewboard.reviews.markdown_utils:iter_markdown_lines

Review Request #6764 — Created Jan. 12, 2015 and discarded — Latest diff uploaded

Information

Review Board
master

Reviewers

fixes issue 3715

I wrote unit tests and ran python reviewboard/manage.py test:

<snip>
When an ordered list does not have a start attr, do not treat it as a xml.dom.minidom.Attr ... ok
Raise an exception for ordered lists with non-int values for their start attribute ... ok
When reading the start attr for lists, convert the value to an int ... ok