diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-10-30 18:01:56 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-10-30 18:01:56 +0000 |
commit | dcc069a2e2540862c233a20037e3e59591a42431 (patch) | |
tree | cea00badeb07a6a829e0bfbe16c70f42d99eeafa /synapse | |
parent | Changelog (diff) | |
download | synapse-dcc069a2e2540862c233a20037e3e59591a42431.tar.xz |
Lint
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/data_stores/main/events.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/synapse/storage/data_stores/main/events.py b/synapse/storage/data_stores/main/events.py index f80b5f1a3f..2b900f1ce1 100644 --- a/synapse/storage/data_stores/main/events.py +++ b/synapse/storage/data_stores/main/events.py @@ -2486,13 +2486,7 @@ class EventsStore( return self._simple_insert_many_txn( txn=txn, table="event_labels", - values=[ - { - "event_id": event_id, - "label": label, - } - for label in labels - ], + values=[{"event_id": event_id, "label": label} for label in labels], ) |