diff options
author | Erik Johnston <erik@matrix.org> | 2015-09-30 16:37:59 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-09-30 16:37:59 +0100 |
commit | 9d39615b7d4d5525ab814d2d84e7f2b4523d0417 (patch) | |
tree | 735161f7528abc1f92d0c49b03c97e31565f16fa /synapse | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/atomic_joi... (diff) | |
download | synapse-9d39615b7d4d5525ab814d2d84e7f2b4523d0417.tar.xz |
Rename var
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/federation.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index e79a82cfc0..3ce1aee52c 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -1033,15 +1033,15 @@ class FederationHandler(BaseHandler): break for e in itertools.chain(auth_events, state, [event]): - a = { + auth_for_e = { (event_map[e_id].type, event_map[e_id].state_key): event_map[e_id] for e_id, _ in e.auth_events } if create_event: - a[(EventTypes.Create, "")] = create_event + auth_for_e[(EventTypes.Create, "")] = create_event try: - self.auth.check(e, auth_events=a) + self.auth.check(e, auth_events=auth_for_e) except AuthError as err: logger.warn( "Rejecting %s because %s", |