diff options
author | Erik Johnston <erik@matrix.org> | 2015-09-09 13:47:14 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-09-09 13:47:14 +0100 |
commit | c0d1f37baf33aeeab22e635b5fd7905ab07e39e3 (patch) | |
tree | 572d1e17610270314a6af24e51afca30898b70dc /scripts-dev/check_auth.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-c0d1f37baf33aeeab22e635b5fd7905ab07e39e3.tar.xz |
Don't require pdus in check_auth script
Diffstat (limited to '')
-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", [])], ) |