diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-09-03 11:42:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 11:42:45 +0100 |
commit | 2a447826665a5ac8e12736214f0ef2401e72f1f9 (patch) | |
tree | ee18930dd9db500a09ad8901ac67ebe4a38c233d /synapse/handlers/sync.py | |
parent | Opentrace device lists (#5853) (diff) | |
download | synapse-2a447826665a5ac8e12736214f0ef2401e72f1f9.tar.xz |
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.
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r-- | synapse/handlers/sync.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index d582f8e494..19bca6717f 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -578,7 +578,6 @@ class SyncHandler(object): if not last_events: return None - return last_event = last_events[-1] state_ids = yield self.store.get_state_ids_for_event( |