diff --git a/rhodecode/lib/__init__.py b/rhodecode/lib/__init__.py --- a/rhodecode/lib/__init__.py +++ b/rhodecode/lib/__init__.py @@ -24,6 +24,13 @@ # along with this program. If not, see . +try: + import json +except ImportError: + #python 2.5 compatibility + import simplejson as json + + def __get_lem(): from pygments import lexers from string import lower