From 7399ae6f7470f2ed8c63cdb5a3b97215e598a5e7 Mon Sep 17 00:00:00 2001 From: Gust Date: Thu, 5 Mar 2015 17:01:49 -0300 Subject: [PATCH] Fix flake8 --- colab/accounts/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colab/accounts/views.py b/colab/accounts/views.py index 7ac08d3..96c2bcc 100644 --- a/colab/accounts/views.py +++ b/colab/accounts/views.py @@ -85,8 +85,8 @@ class UserProfileDetailView(UserProfileBaseMixin, DetailView): count_by = 'thread__mailinglist__name' context['list_activity'] = dict(query.values_list(count_by) - .annotate(Count(count_by)) - .order_by(count_by)) + .annotate(Count(count_by)) + .order_by(count_by)) context.update(kwargs) return super(UserProfileDetailView, self).get_context_data(**context) -- libgit2 0.21.2