summaryrefslogtreecommitdiff
path: root/packages/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/views.py')
-rw-r--r--packages/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/views.py b/packages/views.py
index 4c7cb765..eaef72f6 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -135,7 +135,8 @@ def search(request, page=None):
return HttpResponseRedirect(packages[0].get_absolute_url())
if 'sort' in request.GET:
- packages = packages.order_by(request.GET['sort'], 'repo', 'arch', 'pkgname')
+ packages = packages.order_by(
+ request.GET['sort'], 'repo', 'arch', 'pkgname')
else:
packages = packages.order_by('repo', 'arch', '-last_update', 'pkgname')