summary refs log tree commit diff
path: root/synapse/streams
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/streams
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/streams')
-rw-r--r--synapse/streams/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/streams/config.py b/synapse/streams/config.py
index cf4005984b..c08d591f29 100644
--- a/synapse/streams/config.py
+++ b/synapse/streams/config.py
@@ -81,7 +81,7 @@ class PaginationConfig:
             raise SynapseError(400, "Invalid request.")
 
     def __repr__(self) -> str:
-        return ("PaginationConfig(from_tok=%r, to_tok=%r, direction=%r, limit=%r)") % (
+        return "PaginationConfig(from_tok=%r, to_tok=%r, direction=%r, limit=%r)" % (
             self.from_token,
             self.to_token,
             self.direction,