summary refs log tree commit diff
path: root/synapse/http/client.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-08-24 16:17:38 +0100
committerMark Haines <mark.haines@matrix.org>2015-08-24 16:17:38 +0100
commit78323ccdb359404109bfcdd8b5bf6f641ba3ff9b (patch)
tree791e3840dff6bf74092a04c1886bf08546b9d31a /synapse/http/client.py
parentMerge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-78323ccdb359404109bfcdd8b5bf6f641ba3ff9b.tar.xz
Remove syutil dependency in favour of smaller single-purpose libraries
Diffstat (limited to 'synapse/http/client.py')
-rw-r--r--synapse/http/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py
index 49737d55da..4b8fd3d3a3 100644
--- a/synapse/http/client.py
+++ b/synapse/http/client.py
@@ -15,9 +15,10 @@
 
 from synapse.api.errors import CodeMessageException
 from synapse.util.logcontext import preserve_context_over_fn
-from syutil.jsonutil import encode_canonical_json
 import synapse.metrics
 
+from canonicaljson import encode_canonical_json
+
 from twisted.internet import defer, reactor
 from twisted.web.client import (
     Agent, readBody, FileBodyProducer, PartialDownloadError,