diff options
author | David Baker <dave@matrix.org> | 2015-12-21 10:14:57 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-12-21 10:14:57 +0000 |
commit | 091c545c4fb38f662b61cb46779a813f70971e4f (patch) | |
tree | 56d363c3ac2172664177799c61fae8c1df559bb5 /synapse/storage/event_actions.py | |
parent | add list of things I want to fix with this branch (diff) | |
download | synapse-091c545c4fb38f662b61cb46779a813f70971e4f.tar.xz |
pep8
Diffstat (limited to 'synapse/storage/event_actions.py')
-rw-r--r-- | synapse/storage/event_actions.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/synapse/storage/event_actions.py b/synapse/storage/event_actions.py index f7fe78e554..fbd0a42279 100644 --- a/synapse/storage/event_actions.py +++ b/synapse/storage/event_actions.py @@ -73,14 +73,13 @@ class EventActionsStore(SQLBaseStore): " OR (e.topological_ordering == ? AND e.stream_ordering > ?)" ")" ) - txn.execute(sql, - ( - user_id, room_id, - topological_ordering, topological_ordering, stream_ordering - ) + txn.execute(sql, ( + user_id, room_id, + topological_ordering, topological_ordering, stream_ordering + ) ) return [ - { "event_id": row[0], "actions": row[1] } for row in txn.fetchall() + {"event_id": row[0], "actions": row[1]} for row in txn.fetchall() ] ret = yield self.runInteraction( @@ -89,5 +88,6 @@ class EventActionsStore(SQLBaseStore): ) defer.returnValue(ret) + class EventActionsTable(object): table_name = "event_actions" |