diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-13 15:31:25 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-13 15:31:25 +0100 |
commit | cf706cc6ef1ef864400fc265b1c7014e2feeabb0 (patch) | |
tree | 23450109beb17615de08263319834bc8198d6c87 /synapse/storage/_base.py | |
parent | Limit batch size (diff) | |
download | synapse-cf706cc6ef1ef864400fc265b1c7014e2feeabb0.tar.xz |
Don't return None
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r-- | synapse/storage/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index f169884d83..f990b8149e 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -961,7 +961,7 @@ class SQLBaseStore(object): if allow_rejected or not ret.rejected_reason: event_map[event_id] = ret else: - return None + event_map[event_id] = None except KeyError: pass |