Commit 7399ae6f7470f2ed8c63cdb5a3b97215e598a5e7

Authored by Gust
Committed by Sergio Oliveira
1 parent a88e3fd1

Fix flake8

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
colab/accounts/views.py
@@ -85,8 +85,8 @@ class UserProfileDetailView(UserProfileBaseMixin, DetailView): @@ -85,8 +85,8 @@ class UserProfileDetailView(UserProfileBaseMixin, DetailView):
85 85
86 count_by = 'thread__mailinglist__name' 86 count_by = 'thread__mailinglist__name'
87 context['list_activity'] = dict(query.values_list(count_by) 87 context['list_activity'] = dict(query.values_list(count_by)
88 - .annotate(Count(count_by))  
89 - .order_by(count_by)) 88 + .annotate(Count(count_by))
  89 + .order_by(count_by))
90 90
91 context.update(kwargs) 91 context.update(kwargs)
92 return super(UserProfileDetailView, self).get_context_data(**context) 92 return super(UserProfileDetailView, self).get_context_data(**context)