summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-28 09:33:03 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-28 09:33:03 +0100
commita344ad3d3fdb6575338a056e4f36afae1ee4f9a0 (patch)
tree590ab6f8c6a8b07f751a9c055f02534066a96c7c
parentUpdate synapse/storage/stats.py (diff)
downloadsynapse-github/rei/rss_inc2.tar.xz
Code formatting (Black) github/rei/rss_inc2 rei/rss_inc2
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r--synapse/storage/stats.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py
index a4493556f3..4106f161f0 100644
--- a/synapse/storage/stats.py
+++ b/synapse/storage/stats.py
@@ -183,7 +183,9 @@ class StatsStore(StateDeltasStore):
 
         if complete_with_stream_id is not None:
             absolute_field_overrides = absolute_field_overrides.copy()
-            absolute_field_overrides["completed_delta_stream_id"] = complete_with_stream_id
+            absolute_field_overrides[
+                "completed_delta_stream_id"
+            ] = complete_with_stream_id
 
         # first upsert the `_current` table
         self._upsert_with_additive_relatives_txn(