Changeset - 9d7f9914fa8c
[Not reviewed]
default
0 3 0
Mads Kiilerich - 11 years ago 2015-01-06 00:54:36
madski@unity3d.com
json: always use kallithea.lib.compat for json - and nothing else
3 files changed with 3 insertions and 15 deletions:
0 comments (0 inline, 0 general)
kallithea/bin/base.py
Show inline comments
 
@@ -31,13 +31,7 @@ import random
 
import urllib2
 
import pprint
 

	
 
try:
 
    from kallithea.lib.ext_json import json
 
except ImportError:
 
    try:
 
        import simplejson as json
 
    except ImportError:
 
        import json
 
from kallithea.lib.compat import json
 

	
 
CONFIG_NAME = '.config/kallithea'
 
FORMAT_PRETTY = 'pretty'
kallithea/bin/ldap_sync.py
Show inline comments
 
@@ -29,13 +29,7 @@ import ldap
 
import urllib2
 
import uuid
 

	
 
try:
 
    from kallithea.lib.compat import json
 
except ImportError:
 
    try:
 
        import simplejson as json
 
    except ImportError:
 
        import json
 
from kallithea.lib.compat import json
 

	
 
from ConfigParser import ConfigParser
 

	
kallithea/lib/ext_json.py
Show inline comments
 
@@ -3,7 +3,7 @@ import functools
 
import decimal
 
import imp
 

	
 
__all__ = ['json', 'simplejson', 'stdlibjson']
 
__all__ = ['json']
 

	
 

	
 
def _is_aware(value):
0 comments (0 inline, 0 general)