diff options
author | Julien Jehannet <julien.jehannet@logilab.fr> | 2010-09-28 19:30:00 +0200 |
---|---|---|
committer | Julien Jehannet <julien.jehannet@logilab.fr> | 2010-09-28 19:30:00 +0200 |
commit | 2df1133db1281b1b83685da7f62962961d261071 (patch) | |
tree | 46af7f6986274c5f0b533f5640715458830a16a5 /compat.py | |
parent | fc9595aa552e6b0f24a76ab7c07d301d206f6824 (diff) | |
download | logilab-common-2df1133db1281b1b83685da7f62962961d261071.tar.gz |
[compat] add more compat statement + update docstring
Diffstat (limited to 'compat.py')
-rw-r--r-- | compat.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -397,3 +397,9 @@ try: import configparser except ImportError: import ConfigParser as configparser + +# may not be there if cubicweb-web not installed +if sys.version_info < (2, 6): + import simplejson as json +else: + import json |