Skip to content

Commit 431e28b

Browse files
committed
Fix django-compressor#476: Revert "Try import django.utils.simplejson, except import json"
This reverts commit 4e6db78.
1 parent f134dcc commit 431e28b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

compressor/cache.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import json
12
import hashlib
23
import os
34
import socket
@@ -9,11 +10,6 @@
910
from django.utils.functional import SimpleLazyObject
1011
from django.utils.importlib import import_module
1112

12-
try:
13-
import django.utils.simplejson as json
14-
except ImportError:
15-
import json
16-
1713
from compressor.conf import settings
1814
from compressor.storage import default_storage
1915
from compressor.utils import get_mod_func

0 commit comments

Comments
 (0)