summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-05-23 10:13:05 +0100
committerErik Johnston <erik@matrix.org>2018-05-23 10:13:05 +0100
commit5aaa3189d5a1ef0edc4ed09d7cc61e1a7452efed (patch)
treefe442a3a9e124361354dbf93cd5e516a1aaf1776
parentUse iter* methods for _filter_events_for_server (diff)
downloadsynapse-5aaa3189d5a1ef0edc4ed09d7cc61e1a7452efed.tar.xz
s/values/itervalues/
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index c2dc1e2690..c15c8c1ed5 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -505,7 +505,7 @@ class FederationHandler(BaseHandler):
                     # membership states for the requesting server to determine
                     # if the server is either in the room or has been invited
                     # into the room.
-                    for ev in state.values():
+                    for ev in state.itervalues():
                         if ev.type != EventTypes.Member:
                             continue
                         try: