diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-13 12:03:37 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-13 12:03:37 -0500 |
commit | 9d17938782d661a313b766bb6a3713fbfb5bb155 (patch) | |
tree | d64f0c4ce9d5286aace03ca0e5e649c78dc7619a /news/views.py | |
parent | ba1ca7db1e16400651bb746b8b80f2b30cf88a2f (diff) |
Move magic numbers into a function argument
Instead of having the '15 most recent' bit hardcoded, specify it as the
default but allow value to be overridden by any caller. We don't make
use of this yet, but it is not hard to do.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'news/views.py')
0 files changed, 0 insertions, 0 deletions