summary refs log tree commit diff
path: root/synapse/state
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-09-03 11:42:45 +0100
committerGitHub <noreply@github.com>2019-09-03 11:42:45 +0100
commit2a447826665a5ac8e12736214f0ef2401e72f1f9 (patch)
treeee18930dd9db500a09ad8901ac67ebe4a38c233d /synapse/state
parentOpentrace device lists (#5853) (diff)
downloadsynapse-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/state')
-rw-r--r--synapse/state/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/state/__init__.py b/synapse/state/__init__.py
index a0d34f16ea..2b0f4c79ee 100644
--- a/synapse/state/__init__.py
+++ b/synapse/state/__init__.py
@@ -136,7 +136,6 @@ class StateHandler(object):
             if event_id:
                 event = yield self.store.get_event(event_id, allow_none=True)
             return event
-            return
 
         state_map = yield self.store.get_events(
             list(state.values()), get_prev_content=False