mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-03 03:26:11 -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
|
@ -60,7 +60,7 @@ class VoipRestServlet(RestServlet):
|
|||
password = turnPassword
|
||||
|
||||
else:
|
||||
return (200, {})
|
||||
return 200, {}
|
||||
|
||||
return (
|
||||
200,
|
||||
|
@ -73,7 +73,7 @@ class VoipRestServlet(RestServlet):
|
|||
)
|
||||
|
||||
def on_OPTIONS(self, request):
|
||||
return (200, {})
|
||||
return 200, {}
|
||||
|
||||
|
||||
def register_servlets(hs, http_server):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue