diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2012-03-12 21:32:58 +0200 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2012-03-12 21:32:58 +0200 |
commit | 0b6ac307b4983403fe39a0fb02927719acceaa47 (patch) | |
tree | 47c70bc698c82c51456afb6a52f72e88b3b88d5e | |
parent | 958ec64ddab15d23f96c8bd2133cc476a5ccfc2c (diff) |
fixes for #393 py2.5 compatability for url generators
--HG--
branch : beta
-rw-r--r-- | docs/changelog.rst | 1 | ||||
-rw-r--r-- | rhodecode/controllers/changeset.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst index 9fb66f5a..56fa414d 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -29,6 +29,7 @@ fixes - 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**) ---------------------- diff --git a/rhodecode/controllers/changeset.py b/rhodecode/controllers/changeset.py index 44b4cbbf..277da96c 100644 --- a/rhodecode/controllers/changeset.py +++ b/rhodecode/controllers/changeset.py @@ -68,7 +68,7 @@ def get_ignore_ws(fid, GET): 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 @@ def _context_url(fileid=None): :param fileid: """ + fileid = str(fileid) ig_ws = get_ignore_ws(fileid, request.GET) ln_ctx = (get_line_ctx(fileid, request.GET) or 3) * 2 |