Fix PEP8: E123 closing bracket does not match

indentation of opening bracket's line
This commit is contained in:
stv
2014-11-08 17:20:47 -08:00
parent 55de42d19c
commit 5a69feadeb
17 changed files with 23 additions and 19 deletions

View File

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

View File

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

View File

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