mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 14:18:51 -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
|
|
@ -294,12 +294,10 @@ class ApplicationServicesHandler(object):
|
|||
# we don't know if they are unknown or not since it isn't one of our
|
||||
# users. We can't poke ASes.
|
||||
return False
|
||||
return
|
||||
|
||||
user_info = yield self.store.get_user_by_id(user_id)
|
||||
if user_info:
|
||||
return False
|
||||
return
|
||||
|
||||
# user not found; could be the AS though, so check.
|
||||
services = self.store.get_app_services()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue