Mercurial > kallithea
diff pylons_app/controllers/changelog.py @ 213:7a97f0b100cd
bugfix
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 24 May 2010 01:10:09 +0200 |
parents | a3a7c3e03b76 |
children | a83a1799480c |
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: