summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-10-30 18:01:56 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-10-30 18:01:56 +0000
commitdcc069a2e2540862c233a20037e3e59591a42431 (patch)
treecea00badeb07a6a829e0bfbe16c70f42d99eeafa /synapse
parentChangelog (diff)
downloadsynapse-dcc069a2e2540862c233a20037e3e59591a42431.tar.xz
Lint
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/data_stores/main/events.py8
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],
         )