diff options
author | Erik Johnston <erik@matrix.org> | 2018-07-24 15:08:01 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-07-24 15:08:01 +0100 |
commit | 8f65ab98d2ab35bbb29c23cc7978d54b12fd3db0 (patch) | |
tree | ec4fa156b3eeade226f4258194660115e8c1bf95 /synapse/storage | |
parent | Fixup comment (and indent) (diff) | |
download | synapse-8f65ab98d2ab35bbb29c23cc7978d54b12fd3db0.tar.xz |
Remove unnecessary iteritems
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 76cfbc90fe..9c94d3454f 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -696,7 +696,7 @@ class EventsStore(EventsWorkerStore): existing_state = yield self.get_current_state_ids(room_id) to_delete = [ - key for key, ev_id in iteritems(existing_state) + key for key in existing_state if key not in current_state ] |