summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-11-08 09:21:41 +0000
committerRichard van der Hoff <richard@matrix.org>2017-11-08 09:21:41 +0000
commite148438e97c0d4bdd0dffbc3c1626dd4553f7d88 (patch)
tree61c8371d8bb0d348e18bb9cc3a1611a400ac6604 /synapse/handlers/federation.py
parentUpdate deltas when doing auth resolution (diff)
downloadsynapse-e148438e97c0d4bdd0dffbc3c1626dd4553f7d88.tar.xz
s/items/iteritems/
Diffstat (limited to '')
-rw-r--r--synapse/handlers/federation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index b9e1b24dab..ac70730885 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -1935,7 +1935,7 @@ class FederationHandler(BaseHandler):
                 this will not be included in the current_state in the context.
         """
         state_updates = {
-            k: a.event_id for k, a in auth_events.items()
+            k: a.event_id for k, a in auth_events.iteritems()
             if k != event_key
         }
         context.current_state_ids = dict(context.current_state_ids)
@@ -1945,7 +1945,7 @@ class FederationHandler(BaseHandler):
             context.delta_ids.update(state_updates)
         context.prev_state_ids = dict(context.prev_state_ids)
         context.prev_state_ids.update({
-            k: a.event_id for k, a in auth_events.items()
+            k: a.event_id for k, a in auth_events.iteritems()
         })
         context.state_group = self.store.get_next_state_group()