From 230cc228c26e5c3f637f01c2615b4ef396e2e44e Mon Sep 17 00:00:00 2001 From: Taranjeet Singh Date: Sat, 13 Aug 2016 20:26:15 +0530 Subject: [PATCH] profile_request.py: Fix line with length greater than 120. This updates file zilencer/management/commands/profile_request.py. --- zilencer/management/commands/profile_request.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/zilencer/management/commands/profile_request.py b/zilencer/management/commands/profile_request.py index a527a1e112..3224e47846 100644 --- a/zilencer/management/commands/profile_request.py +++ b/zilencer/management/commands/profile_request.py @@ -24,9 +24,11 @@ class MockRequest(HttpRequest): self.path = '/' self.method = "POST" self.META = {"REMOTE_ADDR": "127.0.0.1"} - self.REQUEST = {"anchor": UserMessage.objects.filter(user_profile=self.user).order_by("-message")[200].message_id, - "num_before": 1200, - "num_after": 200} + self.REQUEST = { + "anchor": UserMessage.objects.filter(user_profile=self.user).order_by("-message")[200].message_id, + "num_before": 1200, + "num_after": 200 + } self.GET = {} # type: Dict[Any, Any] self.session = MockSession()