Fixed E305 flake8 warnings.

This commit is contained in:
Ramin Farajpour Cami 2016-11-12 20:41:23 +03:30 committed by Tim Graham
parent 6072de727f
commit 967be82443
114 changed files with 360 additions and 0 deletions

View file

@ -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)