summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-11-20 17:26:36 +0000
committerMark Haines <mark.haines@matrix.org>2014-11-20 17:26:36 +0000
commitdb9ce032a4223f44ff0d823f36515cefbb534bf5 (patch)
tree95dfbfaac7947c2c7d575c8e6a825dadf8d0d4c9 /synapse/api/auth.py
parentUse module loggers rather than the root logger. Exceptions caused by bad clie... (diff)
downloadsynapse-db9ce032a4223f44ff0d823f36515cefbb534bf5.tar.xz
Fix pep8 codestyle warnings
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 6d8a9e4df7..cbf3ae0ca4 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -272,7 +272,7 @@ class Auth(object):
             key = (RoomCreateEvent.TYPE, "", )
             create_event = event.old_state_events.get(key)
             if (create_event is not None and
-                create_event.content["creator"] == user_id):
+                    create_event.content["creator"] == user_id):
                 return 100
 
         return level