summaryrefslogtreecommitdiffstats
path: root/devel/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-15 15:02:22 +0100
committerDan McGee <dan@archlinux.org>2011-03-15 15:08:10 +0100
commita0ef88770f5fe318f38eaa7dc794727a507c797b (patch)
tree1f101c1caef3f276e3a5b1cc8b5ad8763d8a0999 /devel/utils.py
parent3d6392391b3a0b37bea06f36f1998344ae170df2 (diff)
downloadarchweb-a0ef88770f5fe318f38eaa7dc794727a507c797b.tar.gz
archweb-a0ef88770f5fe318f38eaa7dc794727a507c797b.tar.xz
Ensure package search form correctly handles errors
We were silently eating errors and just showing a normal package list if the form didn't validate. Rather than do that, make sure we return no packages at all and display the form errors back to the user in a sane fashion. Adjust the validation methods on the 'limit' parameter so any integer is acceptable. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/utils.py')
0 files changed, 0 insertions, 0 deletions