diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-09-23 11:59:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 11:59:07 +0100 |
commit | aa2c027792d04c36b17866710e95a41d31f5d99c (patch) | |
tree | a4fedd511f23f3224c0c3fdf663b28c27acfcdab /synapse/federation/sender | |
parent | Factor out a separate `EventContext.for_outlier` (#10883) (diff) | |
download | synapse-aa2c027792d04c36b17866710e95a41d31f5d99c.tar.xz |
Remove unnecessary parentheses around tuples returned from methods (#10889)
Diffstat (limited to 'synapse/federation/sender')
-rw-r--r-- | synapse/federation/sender/per_destination_queue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py index c11d1f6d31..afe35e72b6 100644 --- a/synapse/federation/sender/per_destination_queue.py +++ b/synapse/federation/sender/per_destination_queue.py @@ -560,7 +560,7 @@ class PerDestinationQueue: assert len(edus) <= limit, "get_device_updates_by_remote returned too many EDUs" - return (edus, now_stream_id) + return edus, now_stream_id async def _get_to_device_message_edus(self, limit: int) -> Tuple[List[Edu], int]: last_device_stream_id = self._last_device_stream_id @@ -593,7 +593,7 @@ class PerDestinationQueue: stream_id, ) - return (edus, stream_id) + return edus, stream_id def _start_catching_up(self) -> None: """ |