Fixed #21287 -- Fixed E123 pep8 warnings

This commit is contained in:
Alasdair Nicol 2013-10-18 10:02:43 +01:00
parent 65750b8352
commit a800036981
71 changed files with 152 additions and 152 deletions

View file

@ -526,9 +526,9 @@ def validate_host(host, allowed_hosts):
pattern == '*' or
pattern.startswith('.') and (
host.endswith(pattern) or host == pattern[1:]
) or
) or
pattern == host
)
)
if match:
return True