mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
pep8
This commit is contained in:
parent
b131fb1fe2
commit
091c545c4f
2 changed files with 9 additions and 9 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue