s/values/itervalues/

pull/3267/head
Erik Johnston 2018-05-23 10:13:05 +01:00
parent 0a4bca4134
commit 5aaa3189d5
1 changed files with 1 additions and 1 deletions

View File

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