diff options
author | Erik Johnston <erik@matrix.org> | 2018-05-23 10:13:05 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-05-23 10:13:05 +0100 |
commit | 5aaa3189d5a1ef0edc4ed09d7cc61e1a7452efed (patch) | |
tree | fe442a3a9e124361354dbf93cd5e516a1aaf1776 | |
parent | Use iter* methods for _filter_events_for_server (diff) | |
download | synapse-5aaa3189d5a1ef0edc4ed09d7cc61e1a7452efed.tar.xz |
s/values/itervalues/
-rw-r--r-- | synapse/handlers/federation.py | 2 |
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: |