mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 14:14:19 -04:00
Remove unnecessary parentheses around return statements (#5931)
Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :)
This commit is contained in:
parent
4fca313389
commit
4548d1f87e
81 changed files with 287 additions and 286 deletions
|
@ -195,6 +195,6 @@ class ChainedIdGenerator(object):
|
|||
with self._lock:
|
||||
if self._unfinished_ids:
|
||||
stream_id, chained_id = self._unfinished_ids[0]
|
||||
return (stream_id - 1, chained_id)
|
||||
return stream_id - 1, chained_id
|
||||
|
||||
return (self._current_max, self.chained_generator.get_current_token())
|
||||
return self._current_max, self.chained_generator.get_current_token()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue