Skip to content

Commit aa818f4

Browse files
committed
Fixed flake8 bugs
1 parent b8c8f01 commit aa818f4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

review/views.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ def get_current_tabs(self):
4646
for app_type in ApplicationTypeConfig.objects.all().order_by('pk'):
4747
page_url = reverse('application_list')
4848
if app_type.vote_enabled() and (self.request.user.has_perm('can_review_application') or
49-
self.request.user.has_perm('can_review_application_%s' % app_type.name.lower())):
49+
self.request.user.has_perm('can_review_application_%s' %
50+
app_type.name.lower())):
5051
page_url = self.request.path
5152
url = '%s?type=%s' % (page_url, app_type.name)
52-
tabs.append((app_type.name, url, app_type.vote_enabled() and self.get_review_application(app_type.name) is not None,
53-
active_type == app_type.name))
53+
tabs.append((app_type.name, url, app_type.vote_enabled() and
54+
self.get_review_application(app_type.name) is not None, active_type == app_type.name))
5455
return tabs
5556

5657

0 commit comments

Comments
 (0)