Change name

This commit is contained in:
Erik Johnston 2017-04-10 10:03:07 +01:00
parent ab904caf33
commit f8434db549

View file

@ -468,7 +468,7 @@ TypeToRow = {
} }
BufferedToSend = namedtuple("BufferedToSend", ( ParsedFederationStreamData = namedtuple("ParsedFederationStreamData", (
"presence", # dict of destination -> [UserPresenceState] "presence", # dict of destination -> [UserPresenceState]
"keyed_edus", # dict of destination -> { key -> Edu } "keyed_edus", # dict of destination -> { key -> Edu }
"edus", # dict of destination -> [Edu] "edus", # dict of destination -> [Edu]
@ -490,7 +490,7 @@ def process_rows_for_federation(federation_sender, rows):
# rows that need to be handled differently. We parse the rows, put # rows that need to be handled differently. We parse the rows, put
# them into the appropriate collection and then send them off. # them into the appropriate collection and then send them off.
buff = BufferedToSend( buff = ParsedFederationStreamData(
presence={}, presence={},
keyed_edus={}, keyed_edus={},
edus={}, edus={},