# HG changeset patch # User Marcin Kuzminski # Date 2011-06-17 17:37:18 # Node ID d9fa335650d3d4296b690bc1da6baddca03204e0 # Parent 5a31d387f347dc3dff451f8277f5b9a9ba944425 moved json import into lib 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