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
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
Description | From | Last Updated |
---|---|---|
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (104 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (96 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
local variable 'markdown_html' is assigned to but never used |
reviewbot | |
undefined name 'markdown' |
reviewbot | |
local variable 'markdown_html' is assigned to but never used |
reviewbot | |
undefined name 'markdown' |
reviewbot | |
local variable 'markdown_html' is assigned to but never used |
reviewbot | |
undefined name 'markdown' |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot |
-
Tool: Pyflakes Processed Files: reviewboard/reviews/markdown_utils.py reviewboard/reviews/tests.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/markdown_utils.py reviewboard/reviews/tests.py
-
Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/markdown_utils.py reviewboard/reviews/tests.py Tool: Pyflakes Processed Files: reviewboard/reviews/markdown_utils.py reviewboard/reviews/tests.py
-
-
-
-
-
-
DG
- Change Summary:
-
finish variable rename
- Commit:
-
1f1a989e49b99557564c181b25cf5fd4c9c1f57a14d46056d1446ce952624ce0d5777fb930fece65
DG
- Change Summary:
-
make a line in tests shorter to adhere to pyflake settings
- Commit:
-
14d46056d1446ce952624ce0d5777fb930fece65a9d32f6ee657da841289479aae4c3537481a5975
-
Tool: Pyflakes Processed Files: reviewboard/reviews/markdown_utils.py reviewboard/reviews/tests.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/markdown_utils.py reviewboard/reviews/tests.py