pep8: Fix E301 pep8 violations.

Fix "E301: expected (1 or 2) blank line" pep8 violations.
This commit is contained in:
Rafid Aslam
2016-11-29 13:22:02 +07:00
committed by Tim Abbott
parent 7a2282986a
commit 41bd88d5ed
35 changed files with 57 additions and 2 deletions

View File

@@ -299,6 +299,7 @@ class TagRequests(object):
def process_view(self, request, view_func, args, kwargs):
# type: (HttpRequest, Callable[..., HttpResponse], *str, **Any) -> None
self.process_request(request)
def process_request(self, request):
# type: (HttpRequest) -> None
if request.path.startswith("/api/") or request.path.startswith("/json/"):