Skip to content

Commit a627194

Browse files
Refs #36485 -- Corrected docs linter to detect too-long lines at file end.
1 parent bb7a770 commit a627194

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/lint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def is_multiline_block_to_exclude(line):
9696
continue
9797
except IndexError:
9898
# End of file
99-
continue
99+
pass
100100
if len(set(line.strip())) == 1 and len(line) == len(lines[lno - 1]):
101101
continue # Ignore heading underline
102102
if lno in table_rows:

docs/releases/1.8.11.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ Django 1.8.11 release notes
55
*March 5, 2016*
66

77
Django 1.8.11 fixes a regression on Python 2 in the 1.8.10 security release
8-
where ``utils.http.is_safe_url()`` crashes on bytestring URLs (:ticket:`26308`).
8+
where ``utils.http.is_safe_url()`` crashes on bytestring URLs
9+
(:ticket:`26308`).

docs/releases/1.9.4.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ Django 1.9.4 release notes
55
*March 5, 2016*
66

77
Django 1.9.4 fixes a regression on Python 2 in the 1.9.3 security release
8-
where ``utils.http.is_safe_url()`` crashes on bytestring URLs (:ticket:`26308`).
8+
where ``utils.http.is_safe_url()`` crashes on bytestring URLs
9+
(:ticket:`26308`).

0 commit comments

Comments
 (0)