mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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:
1 parent
be842a5baa
commit
defcb43883
7 files changed
+6
-25
No files matched your search
@@ -1,8 +1,3 @@
|
||||
import os
|
||||
try:
|
||||
import simplejson as json
|
||||
except ImportError:
|
||||
import json
|
||||
import cherrypy
|
||||
import cfg
|
||||
from model import User
|
||||
|
||||
Reference in new issue
Block a user