mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 22:13:52 -05:00
Remove double return statements (#5962)
Remove all the "double return" statements which were a result of us removing all the instances of ``` defer.returnValue(...) return ``` statements when we switched to python3 fully.
This commit is contained in:
parent
a90d16dabc
commit
2a44782666
15 changed files with 1 additions and 20 deletions
|
|
@ -703,7 +703,6 @@ class RoomMembershipRestServlet(TransactionRestServlet):
|
|||
txn_id,
|
||||
)
|
||||
return 200, {}
|
||||
return
|
||||
|
||||
target = requester.user
|
||||
if membership_action in ["invite", "ban", "unban", "kick"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue