summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-10 13:46:44 +0000
committerErik Johnston <erik@matrix.org>2014-11-10 13:46:44 +0000
commit5d439b127ba34b951dfd09a7d3c684c2d50df702 (patch)
treee12a03f22cb0c6b5ca6b0d72f863b288b6a11612 /synapse/api
parentRemove useless comments (diff)
downloadsynapse-5d439b127ba34b951dfd09a7d3c684c2d50df702.tar.xz
PEP8
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/auth.py3
-rw-r--r--synapse/api/events/room.py1
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 48f9d460a3..a5c6964707 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -369,7 +369,6 @@ class Auth(object):
         ]
         event.auth_events = zip(auth_events, hashes)
 
-
     @log_function
     def _can_send_event(self, event):
         key = (RoomPowerLevelsEvent.TYPE, "", )
@@ -452,7 +451,7 @@ class Auth(object):
             event.user_id,
         )
 
-       # Check other levels:
+        # Check other levels:
         levels_to_check = [
             ("users_default", []),
             ("events_default", []),
diff --git a/synapse/api/events/room.py b/synapse/api/events/room.py
index 25bc883706..8c4ac45d02 100644
--- a/synapse/api/events/room.py
+++ b/synapse/api/events/room.py
@@ -153,6 +153,7 @@ class RoomPowerLevelsEvent(SynapseStateEvent):
     def get_content_template(self):
         return {}
 
+
 class RoomAliasesEvent(SynapseStateEvent):
     TYPE = "m.room.aliases"