mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:56:04 -04:00
Remove unnecessary parentheses around tuples returned from methods (#10889)
This commit is contained in:
parent
26f2bfedbf
commit
aa2c027792
22 changed files with 33 additions and 32 deletions
|
@ -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:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue