Mercurial > kallithea
diff rhodecode/controllers/changelog.py @ 1514:87ec80c280bb beta
fixed issues with python2.5
added compat module to rhodecode to have one point of fetching backward incompatible libs.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 07 Oct 2011 02:51:18 +0200 |
parents | d21c14e36fa8 |
children | da8f1d1b22de 833f9dec0a06 |
line wrap: on
line diff
--- a/rhodecode/controllers/changelog.py Wed Oct 05 00:10:42 2011 +0200 +++ b/rhodecode/controllers/changelog.py Fri Oct 07 02:51:18 2011 +0200 @@ -25,18 +25,13 @@ import logging -try: - import json -except ImportError: - #python 2.5 compatibility - import simplejson as json - from mercurial import graphmod from pylons import request, session, tmpl_context as c from rhodecode.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator from rhodecode.lib.base import BaseRepoController, render from rhodecode.lib.helpers import RepoPage +from rhodecode.lib.compat import json log = logging.getLogger(__name__)