From 736ac58e1191fc28abaef5c2cab86901b85ce192 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Tue, 27 Aug 2019 13:42:33 +0100 Subject: Code formatting (Black) Signed-off-by: Olivier Wilkinson (reivilibre) --- synapse/storage/stats.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py index 0f3aa6a801..650c0050cb 100644 --- a/synapse/storage/stats.py +++ b/synapse/storage/stats.py @@ -221,10 +221,7 @@ class StatsStore(StateDeltasStore): """ if self.database_engine.can_native_upsert: ins_columns = chain( - keyvalues, - copy_columns, - additive_relatives, - extra_dst_keyvalues, + keyvalues, copy_columns, additive_relatives, extra_dst_keyvalues ) sel_exprs = chain( keyvalues, @@ -349,7 +346,10 @@ class StatsStore(StateDeltasStore): txn=txn, into_table=table + "_historical", keyvalues={id_col: stats_id}, - extra_dst_keyvalues={"end_ts": end_ts, "bucket_size": self.stats_bucket_size}, + extra_dst_keyvalues={ + "end_ts": end_ts, + "bucket_size": self.stats_bucket_size, + }, additive_relatives=per_slice_additive_relatives, src_table=table + "_current", copy_columns=abs_field_names, -- cgit 1.4.1