Fix style violations

Signed-off-by: Kent Shikama <kent@kentshikama.com>
This commit is contained in:
Kent Shikama 2016-07-04 22:07:11 +09:00
parent 2e5a31f197
commit bb069079bb
No known key found for this signature in database
GPG key ID: D275958A0FA61427
2 changed files with 4 additions and 2 deletions

View file

@ -358,7 +358,8 @@ class RegistrationHandler(BaseHandler):
defer.returnValue(data)
@defer.inlineCallbacks
def get_or_create_user(self, localpart, displayname, duration_seconds, password_hash=None):
def get_or_create_user(self, localpart, displayname, duration_seconds,
password_hash=None):
"""Creates a new user if the user does not exist,
else revokes all previous access tokens and generates a new one.