mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 19:54:50 -04:00
Directly import json from the standard library. (#8259)
By importing from canonicaljson the simplejson module was still being used in some situations. After this change the std lib json is consistenty used throughout Synapse.
This commit is contained in:
parent
cef00211c8
commit
72bec36d50
5 changed files with 7 additions and 6 deletions
|
@ -14,13 +14,12 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
import argparse
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
from canonicaljson import json
|
||||
|
||||
from twisted.internet import defer, task
|
||||
|
||||
import synapse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue