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
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
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 5. See what's changed.
orig
1
2
3
4
5
reviewboard/reviews/markdown_utils.py |
---|
reviewboard/reviews/tests.py |
---|