Remove unnecessary iteritems

This commit is contained in:
Erik Johnston 2018-07-24 15:08:01 +01:00
parent ed0dd68731
commit 8f65ab98d2

View file

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