pep8 & remove debug logging

This commit is contained in:
David Baker 2016-03-16 12:51:34 +00:00
parent c12b9d719a
commit 99797947aa
2 changed files with 6 additions and 5 deletions

View File

@ -157,7 +157,9 @@ class RegisterRestServlet(RestServlet):
registered_user_id
)
access_token = yield self.auth_handler.issue_access_token(registered_user_id)
refresh_token = yield self.auth_handler.issue_refresh_token(registered_user_id)
refresh_token = yield self.auth_handler.issue_refresh_token(
registered_user_id
)
defer.returnValue((200, {
"user_id": registered_user_id,
"access_token": access_token,
@ -181,7 +183,6 @@ class RegisterRestServlet(RestServlet):
# remember that we've now registered that user account, and with what
# user ID (since the user may not have specified)
logger.info("%r", body)
self.auth_handler.set_session_data(
session_id, "registered_user_id", user_id
)