Mercurial > kallithea
diff rhodecode/lib/utils.py @ 3705:f37d7514e7ab beta
always use json from compat module
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 07 Apr 2013 19:55:30 +0200 |
parents | 34093903b505 |
children | 7e3d89d9d3a2 |
line wrap: on
line diff
--- a/rhodecode/lib/utils.py Sun Apr 07 19:09:52 2013 +0200 +++ b/rhodecode/lib/utils.py Sun Apr 07 19:55:30 2013 +0200 @@ -765,7 +765,7 @@ """ from pylons.decorators.util import get_pylons - from rhodecode.lib.ext_json import json + from rhodecode.lib.compat import json pylons = get_pylons(args) pylons.response.headers['Content-Type'] = 'application/json; charset=utf-8' data = func(*args, **kwargs)