mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-14 06:50:42 -05: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
|
|
@ -13,11 +13,11 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import json
|
||||
import logging
|
||||
import re
|
||||
|
||||
import attr
|
||||
from canonicaljson import json
|
||||
|
||||
from twisted.internet import defer, task
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue