summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-03-29 22:45:52 +0100
committerRichard van der Hoff <richard@matrix.org>2018-03-29 22:45:52 +0100
commitfcfe7f6ad3a2a9c285ac96008395fc47e096ff4b (patch)
treec85be32a5201155f56672379a43a5cf10bd53c8e /synapse/api/errors.py
parentMerge pull request #3043 from matrix-org/erikj/measure_state_group_creation (diff)
downloadsynapse-fcfe7f6ad3a2a9c285ac96008395fc47e096ff4b.tar.xz
Use simplejson throughout
Let's use simplejson rather than json, for consistency.
Diffstat (limited to 'synapse/api/errors.py')
-rw-r--r--synapse/api/errors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index aa15f73f36..bee59e80dd 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -15,9 +15,10 @@
 
 """Contains exceptions and error codes."""
 
-import json
 import logging
 
+import simplejson as json
+
 logger = logging.getLogger(__name__)