Mercurial > kallithea
changeset 2123:f47f27a6b54e beta
fixes for #393 py2.5 compatability for url generators
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 12 Mar 2012 21:32:58 +0200 |
parents | c137b8a81f8e |
children | 273ce1a99c3f |
files | docs/changelog.rst rhodecode/controllers/changeset.py |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/changelog.rst Mon Mar 12 20:33:13 2012 +0200 +++ b/docs/changelog.rst Mon Mar 12 21:32:58 2012 +0200 @@ -29,6 +29,7 @@ - fixed issue with escaping < and > in changeset commits - fixed error occurring during recursive group creation in API create_repo function +- fixed #393 py2.5 fixes for routes url generator 1.3.3 (**2012-03-02**) ----------------------
--- a/rhodecode/controllers/changeset.py Mon Mar 12 20:33:13 2012 +0200 +++ b/rhodecode/controllers/changeset.py Mon Mar 12 21:32:58 2012 +0200 @@ -68,7 +68,7 @@ def _ignorews_url(fileid=None): - + fileid = str(fileid) params = defaultdict(list) lbl = _('show white space') ig_ws = get_ignore_ws(fileid, request.GET) @@ -118,6 +118,7 @@ :param fileid: """ + fileid = str(fileid) ig_ws = get_ignore_ws(fileid, request.GET) ln_ctx = (get_line_ctx(fileid, request.GET) or 3) * 2