Use json instead of simplejson library to avoid extra depedency

Simplejson is an externally mainainted version of json library available in
Python 2.6 and up. It supports Python 2.5 which were are not targetting.
It also boasts better speed which is not at all a factor for us.
This commit is contained in:
Sunil Mohan Adapa committed 2014-05-13 12:28:39 +05:30
1 parent be842a5baa
commit defcb43883
7 files changed
+6 -25

No files matched your search

-5
View File
@@ -1,8 +1,3 @@
import os
try:
import simplejson as json
except ImportError:
import json
import cherrypy
import cfg
from model import User
-4
View File
@@ -7,10 +7,6 @@ haven't figured that one all the way through yet.
import os, sys
import cherrypy
try:
import simplejson as json
except ImportError:
import json
from gettext import gettext as _
from plugin_mount import PagePlugin
from modules.auth import require
+1 -4
View File
@@ -23,10 +23,7 @@ import cherrypy
from django import forms
from django.core import validators
from gettext import gettext as _
try:
import simplejson as json
except ImportError:
import json
import json
import os
import socket