summary refs log tree commit diff
path: root/synapse/storage/databases/main/state_deltas.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2021-09-23 11:59:07 +0100
committerGitHub <noreply@github.com>2021-09-23 11:59:07 +0100
commitaa2c027792d04c36b17866710e95a41d31f5d99c (patch)
treea4fedd511f23f3224c0c3fdf663b28c27acfcdab /synapse/storage/databases/main/state_deltas.py
parentFactor out a separate `EventContext.for_outlier` (#10883) (diff)
downloadsynapse-aa2c027792d04c36b17866710e95a41d31f5d99c.tar.xz
Remove unnecessary parentheses around tuples returned from methods (#10889)
Diffstat (limited to 'synapse/storage/databases/main/state_deltas.py')
-rw-r--r--synapse/storage/databases/main/state_deltas.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/state_deltas.py b/synapse/storage/databases/main/state_deltas.py
index bff7d0404f..a89747d741 100644
--- a/synapse/storage/databases/main/state_deltas.py
+++ b/synapse/storage/databases/main/state_deltas.py
@@ -58,7 +58,7 @@ class StateDeltasStore(SQLBaseStore):
             # if the CSDs haven't changed between prev_stream_id and now, we
             # know for certain that they haven't changed between prev_stream_id and
             # max_stream_id.
-            return (max_stream_id, [])
+            return max_stream_id, []
 
         def get_current_state_deltas_txn(txn):
             # First we calculate the max stream id that will give us less than