Blunty replace json with simplejson

pull/4/merge
Erik Johnston 10 years ago
parent d4abeb8354
commit 4ebbaf0d43
  1. 2
      synapse/crypto/keyclient.py
  2. 2
      synapse/federation/persistence.py
  3. 2
      synapse/federation/transport/server.py
  4. 2
      synapse/http/client.py
  5. 2
      synapse/http/matrixfederationclient.py
  6. 2
      synapse/push/__init__.py
  7. 2
      synapse/push/pusherpool.py
  8. 2
      synapse/rest/client/v1/directory.py
  9. 2
      synapse/rest/client/v1/login.py
  10. 2
      synapse/rest/client/v1/presence.py
  11. 2
      synapse/rest/client/v1/profile.py
  12. 2
      synapse/rest/client/v1/push_rule.py
  13. 2
      synapse/rest/client/v1/pusher.py
  14. 2
      synapse/rest/client/v1/register.py
  15. 2
      synapse/rest/client/v1/room.py
  16. 2
      synapse/rest/client/v2_alpha/filter.py
  17. 2
      synapse/rest/media/v0/content_repository.py
  18. 2
      synapse/storage/__init__.py
  19. 2
      synapse/storage/_base.py
  20. 2
      synapse/storage/filtering.py
  21. 2
      synapse/storage/push_rule.py

@ -19,7 +19,7 @@ from twisted.internet.protocol import Factory
from twisted.internet import defer, reactor
from synapse.http.endpoint import matrix_federation_endpoint
from synapse.util.logcontext import PreserveLoggingContext
import json
import simplejson as json
import logging

@ -23,7 +23,7 @@ from twisted.internet import defer
from synapse.util.logutils import log_function
import json
import simplejson as json
import logging

@ -20,7 +20,7 @@ from synapse.api.errors import Codes, SynapseError
from synapse.util.logutils import log_function
import logging
import json
import simplejson as json
import re

@ -23,7 +23,7 @@ from twisted.web.http_headers import Headers
from StringIO import StringIO
import json
import simplejson as json
import logging
import urllib

@ -33,7 +33,7 @@ from synapse.api.errors import (
from syutil.crypto.jsonsign import sign_json
import json
import simplejson as json
import logging
import urllib
import urlparse

@ -22,7 +22,7 @@ import synapse.util.async
import baserules
import logging
import json
import simplejson as json
import re
logger = logging.getLogger(__name__)

@ -20,7 +20,7 @@ from httppusher import HttpPusher
from synapse.push import PusherConfigException
import logging
import json
import simplejson as json
logger = logging.getLogger(__name__)

@ -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

@ -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):

@ -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__)

@ -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):

@ -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):

@ -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):

@ -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

@ -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

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

@ -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

@ -44,7 +44,7 @@ from syutil.jsonutil import encode_canonical_json
from synapse.crypto.event_signing import compute_event_reference_hash
import json
import simplejson as json
import logging
import os

@ -23,7 +23,7 @@ from synapse.util.logcontext import PreserveLoggingContext, LoggingContext
from twisted.internet import defer
import collections
import json
import simplejson as json
import sys
import time

@ -17,7 +17,7 @@ from twisted.internet import defer
from ._base import SQLBaseStore
import json
import simplejson as json
class FilteringStore(SQLBaseStore):

@ -20,7 +20,7 @@ from twisted.internet import defer
import logging
import copy
import json
import simplejson as json
logger = logging.getLogger(__name__)

Loading…
Cancel
Save