diff rhodecode/controllers/changelog.py @ 3915:a42bfe8a9335 beta

moved make-index command to paster_commands module - optimized imports and code
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 30 May 2013 00:01:16 +0200
parents 222e9432298e
children 5293d4bbb1ea
line wrap: on
line diff
--- a/rhodecode/controllers/changelog.py	Wed May 29 12:13:02 2013 +0200
+++ b/rhodecode/controllers/changelog.py	Thu May 30 00:01:16 2013 +0200
@@ -132,7 +132,7 @@
             c.total_cs = len(collection)
 
             c.pagination = RepoPage(collection, page=p, item_count=c.total_cs,
-                                    items_per_page=c.size, branch=branch_name)
+                                    items_per_page=c.size, branch=branch_name,)
             collection = list(c.pagination)
             page_revisions = [x.raw_id for x in c.pagination]
             c.comments = c.rhodecode_db_repo.get_comments(page_revisions)