diff options
author | Erik Johnston <erik@matrix.org> | 2015-09-14 18:05:31 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-09-14 18:05:31 +0100 |
commit | d59acb8c5b7ff74b0045b1e4df0c79ce6f645004 (patch) | |
tree | b7427c8e6cf1d48cab0341fbcbda307707e75338 /scripts-dev/check_auth.py | |
parent | Also check the domains for membership state_keys (diff) | |
parent | Merge pull request #265 from matrix-org/erikj/check_room_exists (diff) | |
download | synapse-d59acb8c5b7ff74b0045b1e4df0c79ce6f645004.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/unfederatable
Diffstat (limited to 'scripts-dev/check_auth.py')
-rw-r--r-- | scripts-dev/check_auth.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts-dev/check_auth.py b/scripts-dev/check_auth.py index b889ac7fa7..4fa8792a5f 100644 --- a/scripts-dev/check_auth.py +++ b/scripts-dev/check_auth.py @@ -56,10 +56,9 @@ if __name__ == '__main__': js = json.load(args.json) - auth = Auth(Mock()) check_auth( auth, [FrozenEvent(d) for d in js["auth_chain"]], - [FrozenEvent(d) for d in js["pdus"]], + [FrozenEvent(d) for d in js.get("pdus", [])], ) |