0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-19 16:32:24 +01:00

Don't return None

This commit is contained in:
Erik Johnston 2015-05-13 15:31:25 +01:00
parent 5971d240d4
commit cf706cc6ef

View file

@ -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