Mercurial > kallithea
changeset 213:7a97f0b100cd
bugfix
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 24 May 2010 01:10:09 +0200 |
parents | 671931f082c3 |
children | 5b8d00d40bd4 |
files | pylons_app/controllers/changelog.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pylons_app/controllers/changelog.py Mon May 24 00:58:40 2010 +0200 +++ b/pylons_app/controllers/changelog.py Mon May 24 01:10:09 2010 +0200 @@ -18,9 +18,9 @@ super(ChangelogController, self).__before__() def index(self): + limit = 100 + default = 20 if request.params.get('size'): - limit = 100 - default = 20 try: int_size = int(request.params.get('size')) except ValueError: