Changeset - 5535389f1959
[Not reviewed]
beta
0 1 0
H Waldo G - 13 years ago 2012-07-19 17:32:33
gwaldo@gmail.com
Compressed some assignments and evaluations into a single assignment.
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/changelog.py
Show inline comments
 
@@ -58,8 +58,7 @@ class ChangelogController(BaseRepoContro
 
                int_size = int(request.params.get('size'))
 
            except ValueError:
 
                int_size = default
 
            int_size = int_size if int_size <= limit else limit
 
            c.size = int_size
 
            c.size = max(min(int_size, limit), 1)
 
            session['changelog_size'] = c.size
 
            session.save()
 
        else:
0 comments (0 inline, 0 general)