Mercurial > kallithea
diff rhodecode/templates/files/files_browser.html @ 740:9279dfedcf93 beta
fixed python2.5 incompatible enumerate calls
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 23 Nov 2010 01:58:49 +0100 |
parents | dff6d5cb8bba |
children | 3d0661b8aaa4 322b53be49cc |
line wrap: on
line diff
--- a/rhodecode/templates/files/files_browser.html Tue Nov 23 01:54:33 2010 +0100 +++ b/rhodecode/templates/files/files_browser.html Tue Nov 23 01:58:49 2010 +0100 @@ -43,8 +43,8 @@ </tr> %endif - %for cnt,node in enumerate(c.files_list,1): - <tr class="parity${cnt%2}"> + %for cnt,node in enumerate(c.files_list): + <tr class="parity${cnt+1%2}"> <td> ${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=node.path),class_=file_class(node))} </td>