Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3048 from matrix-org/rav/use_simplejson
Browse files Browse the repository at this point in the history
Use simplejson throughout
  • Loading branch information
richvdh authored Apr 3, 2018
2 parents 88cc9cc + fcfe7f6 commit 0ca5c4d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion synapse/api/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@

"""Contains exceptions and error codes."""

import json
import logging

import simplejson as json

logger = logging.getLogger(__name__)


Expand Down
8 changes: 5 additions & 3 deletions synapse/handlers/identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
# limitations under the License.

"""Utilities for interacting with Identity Servers"""

import logging

import simplejson as json

from twisted.internet import defer

from synapse.api.errors import (
Expand All @@ -24,9 +29,6 @@
from synapse.util.async import run_on_reactor
from synapse.api.errors import SynapseError, Codes

import json
import logging

logger = logging.getLogger(__name__)


Expand Down
3 changes: 2 additions & 1 deletion synapse/storage/schema/delta/14/upgrade_appservice_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import json
import logging

import simplejson as json

logger = logging.getLogger(__name__)


Expand Down

0 comments on commit 0ca5c4d

Please sign in to comment.