mirror of
https://github.com/django/django.git
synced 2025-09-04 19:35:05 +03:00
Refs #36485 -- Corrected docs linter to detect too-long lines at file end.
This commit is contained in:
parent
bb7a7701b1
commit
a627194567
|
@ -96,7 +96,7 @@ def check_line_too_long_django(file, lines, options=None):
|
|||
continue
|
||||
except IndexError:
|
||||
# End of file
|
||||
continue
|
||||
pass
|
||||
if len(set(line.strip())) == 1 and len(line) == len(lines[lno - 1]):
|
||||
continue # Ignore heading underline
|
||||
if lno in table_rows:
|
||||
|
|
|
@ -5,4 +5,5 @@ Django 1.8.11 release notes
|
|||
*March 5, 2016*
|
||||
|
||||
Django 1.8.11 fixes a regression on Python 2 in the 1.8.10 security release
|
||||
where ``utils.http.is_safe_url()`` crashes on bytestring URLs (:ticket:`26308`).
|
||||
where ``utils.http.is_safe_url()`` crashes on bytestring URLs
|
||||
(:ticket:`26308`).
|
||||
|
|
|
@ -5,4 +5,5 @@ Django 1.9.4 release notes
|
|||
*March 5, 2016*
|
||||
|
||||
Django 1.9.4 fixes a regression on Python 2 in the 1.9.3 security release
|
||||
where ``utils.http.is_safe_url()`` crashes on bytestring URLs (:ticket:`26308`).
|
||||
where ``utils.http.is_safe_url()`` crashes on bytestring URLs
|
||||
(:ticket:`26308`).
|
||||
|
|
Loading…
Reference in New Issue
Block a user