diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 19:22:24 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 19:22:24 +0000 |
commit | 638820f5713e67cc43e65f25ce09aefcd703450e (patch) | |
tree | 06b32ec4c5174d5e4f35ee862b30fa3ef80260f6 /synapse/handlers/federation.py | |
parent | Merge pull request #6294 from matrix-org/erikj/add_state_storage (diff) | |
parent | Update black to 19.10b0 (#6304) (diff) | |
download | synapse-638820f5713e67cc43e65f25ce09aefcd703450e.tar.xz |
Update black to 19.10b0 (#6304)
* commit '020add509': Update black to 19.10b0 (#6304)
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r-- | synapse/handlers/federation.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index cad334346d..72f7ab2848 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -352,10 +352,11 @@ class FederationHandler(BaseHandler): # note that if any of the missing prevs share missing state or # auth events, the requests to fetch those events are deduped # by the get_pdu_cache in federation_client. - remote_state, got_auth_chain = ( - yield self.federation_client.get_state_for_room( - origin, room_id, p - ) + ( + remote_state, + got_auth_chain, + ) = yield self.federation_client.get_state_for_room( + origin, room_id, p ) # we want the state *after* p; get_state_for_room returns the |