Fix PEP8: E123 closing bracket does not match
indentation of opening bracket's line
This commit is contained in:
@@ -81,7 +81,7 @@ class StubCommentsServiceHandler(StubHttpRequestHandler):
|
||||
"collection": user_threads,
|
||||
"page": page,
|
||||
"num_pages": num_pages
|
||||
})
|
||||
})
|
||||
else:
|
||||
self.send_response(404, content="404 Not Found")
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ class StubLtiHandler(StubHttpRequestHandler):
|
||||
'Content-Type': 'application/xml',
|
||||
'X-Requested-With': 'XMLHttpRequest',
|
||||
'Authorization': self._oauth_sign(url, data)
|
||||
}
|
||||
}
|
||||
|
||||
# Send request ignoring verifirecation of SSL certificate
|
||||
response = requests.post(url, data=data, headers=headers, verify=False)
|
||||
|
||||
@@ -526,8 +526,7 @@ class StubOraService(StubHttpService):
|
||||
'num_graded': self.DUMMY_DATA['problem_list_num_graded'],
|
||||
'num_pending': self.DUMMY_DATA['problem_list_num_pending'],
|
||||
'num_required': self.DUMMY_DATA['problem_list_num_required']
|
||||
} for location, name in self.problems.items()
|
||||
]
|
||||
} for location, name in self.problems.items()]
|
||||
|
||||
def register_problem(self, location, name):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user