Blunty replace json with simplejson

This commit is contained in:
Erik Johnston 2015-02-11 14:23:10 +00:00
parent d4abeb8354
commit 4ebbaf0d43
21 changed files with 21 additions and 21 deletions

View file

@ -20,7 +20,7 @@ from synapse.api.errors import AuthError, SynapseError, Codes
from synapse.types import RoomAlias
from .base import ClientV1RestServlet, client_path_pattern
import json
import simplejson as json
import logging

View file

@ -19,7 +19,7 @@ from synapse.api.errors import SynapseError
from synapse.types import UserID
from base import ClientV1RestServlet, client_path_pattern
import json
import simplejson as json
class LoginRestServlet(ClientV1RestServlet):

View file

@ -21,7 +21,7 @@ from synapse.api.errors import SynapseError
from synapse.types import UserID
from .base import ClientV1RestServlet, client_path_pattern
import json
import simplejson as json
import logging
logger = logging.getLogger(__name__)

View file

@ -19,7 +19,7 @@ from twisted.internet import defer
from .base import ClientV1RestServlet, client_path_pattern
from synapse.types import UserID
import json
import simplejson as json
class ProfileDisplaynameRestServlet(ClientV1RestServlet):

View file

@ -27,7 +27,7 @@ from synapse.push.rulekinds import (
PRIORITY_CLASS_MAP, PRIORITY_CLASS_INVERSE_MAP
)
import json
import simplejson as json
class PushRuleRestServlet(ClientV1RestServlet):

View file

@ -19,7 +19,7 @@ from synapse.api.errors import SynapseError, Codes
from synapse.push import PusherConfigException
from .base import ClientV1RestServlet, client_path_pattern
import json
import simplejson as json
class PusherRestServlet(ClientV1RestServlet):

View file

@ -25,7 +25,7 @@ from synapse.util.async import run_on_reactor
from hashlib import sha1
import hmac
import json
import simplejson as json
import logging
import urllib

View file

@ -23,7 +23,7 @@ from synapse.api.constants import EventTypes, Membership
from synapse.types import UserID, RoomID, RoomAlias
from synapse.events.utils import serialize_event
import json
import simplejson as json
import logging
import urllib

View file

@ -21,7 +21,7 @@ from synapse.types import UserID
from ._base import client_v2_pattern
import json
import simplejson as json
import logging

View file

@ -25,7 +25,7 @@ from twisted.web import server, resource
from twisted.internet import defer
import base64
import json
import simplejson as json
import logging
import os
import re