summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-09 14:49:11 +0000
committerErik Johnston <erik@matrix.org>2014-12-09 14:49:11 +0000
commit008303b245944a41bca644a5ffdd2e9dfdebb338 (patch)
treec122a9144c48b0d04c326cf61dc8c1ddbcbde05c
parentFix joining from an invite (diff)
downloadsynapse-008303b245944a41bca644a5ffdd2e9dfdebb338.tar.xz
PEP8
-rw-r--r--synapse/api/constants.py2
-rw-r--r--synapse/handlers/room.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index acf50e42ab..7e8c892b64 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -67,4 +67,4 @@ class EventTypes(object):
     JoinRules = "m.room.join_rules"
     PowerLevels = "m.room.power_levels"
     Aliases = "m.room.aliases"
-    Redaction = "m.room.redaction"
\ No newline at end of file
+    Redaction = "m.room.redaction"
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 215b9cc5ac..509763ebc7 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -342,7 +342,7 @@ class RoomMemberHandler(BaseHandler):
         """
         target_user_id = event.state_key
 
-        ## TODO(markjh): get prev state from snapshot.
+        # TODO(markjh): get prev state from snapshot.
         prev_state = yield self.store.get_room_member(
             target_user_id, event.room_id
         )