mirror of
https://github.com/django/django.git
synced 2025-09-21 18:00:45 +00:00
Fixed E305 flake8 warnings.
This commit is contained in:
parent
6072de727f
commit
967be82443
114 changed files with 360 additions and 0 deletions
|
@ -385,6 +385,7 @@ def _replace_entity(match):
|
|||
except (ValueError, KeyError):
|
||||
return match.group(0)
|
||||
|
||||
|
||||
_entity_re = re.compile(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));")
|
||||
|
||||
|
||||
|
@ -445,4 +446,6 @@ def _format_lazy(format_string, *args, **kwargs):
|
|||
and/or kwargs might be lazy.
|
||||
"""
|
||||
return format_string.format(*args, **kwargs)
|
||||
|
||||
|
||||
format_lazy = lazy(_format_lazy, six.text_type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue