diff options
author | David Baker <dave@matrix.org> | 2016-03-16 12:51:34 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-03-16 12:51:34 +0000 |
commit | 99797947aa5a7cdf8fe12043b4f25a155bcf4555 (patch) | |
tree | 7072b5ac8762af57339459e50f8b50dcad84ebb8 /synapse/handlers/auth.py | |
parent | Make registration idempotent: if you specify the same session, make it give y... (diff) | |
download | synapse-99797947aa5a7cdf8fe12043b4f25a155bcf4555.tar.xz |
pep8 & remove debug logging
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r-- | synapse/handlers/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py index 5dc9d91757..a9f5e3710b 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py @@ -490,7 +490,7 @@ class AuthHandler(BaseHandler): self._prune_sessions() def _prune_sessions(self): - for sid,sess in self.sessions.items(): + for sid, sess in self.sessions.items(): last_used = 0 if 'last_used' in sess: last_used = sess['last_used'] |