diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-08-24 16:30:35 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-08-24 16:30:35 +0100 |
commit | f093873d697f99a59cade944bb68850b017afd09 (patch) | |
tree | 5e2bc1ae66743ebabba5c6ec0e582e261f428959 /scripts-dev/hash_history.py | |
parent | Remove syutil dependency in favour of smaller single-purpose libraries (diff) | |
download | synapse-f093873d697f99a59cade944bb68850b017afd09.tar.xz |
Replace syutil references in scripts
Diffstat (limited to 'scripts-dev/hash_history.py')
-rw-r--r-- | scripts-dev/hash_history.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts-dev/hash_history.py b/scripts-dev/hash_history.py index bdad530af8..616d6a10e7 100644 --- a/scripts-dev/hash_history.py +++ b/scripts-dev/hash_history.py @@ -6,8 +6,8 @@ from synapse.crypto.event_signing import ( add_event_pdu_content_hash, compute_pdu_event_reference_hash ) from synapse.api.events.utils import prune_pdu -from syutil.base64util import encode_base64, decode_base64 -from syutil.jsonutil import encode_canonical_json +from unpaddedbase64 import encode_base64, decode_base64 +from canonicaljson import encode_canonical_json import sqlite3 import sys |