mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-11 11:28:25 -05:00
Blunty replace json with simplejson
This commit is contained in:
parent
d4abeb8354
commit
4ebbaf0d43
21 changed files with 21 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue