try to make pylint happy
All checks were successful
buildbot/tox Build done.

This commit is contained in:
2022-06-08 00:08:09 +02:00
parent 8610e2a557
commit 98a6fc3ce7
60 changed files with 565 additions and 560 deletions

View File

@@ -24,7 +24,7 @@ class EventListView(_EventListView):
def dispatch(self, request, *args, **kwargs):
if not DefaultWorkflow.has_global_permission(request.user, 'payment'):
raise PermissionDenied('payment')
return super(EventListView, self).dispatch(request, *args, **kwargs)
return super().dispatch(request, *args, **kwargs)
class EventDetailView(_EventRegistrationsView):
@@ -34,7 +34,7 @@ class EventDetailView(_EventRegistrationsView):
def dispatch(self, request, *args, **kwargs):
if not DefaultWorkflow.has_global_permission(request.user, 'payment'):
raise PermissionDenied('payment')
return super(EventDetailView, self).dispatch(request, *args, **kwargs)
return super().dispatch(request, *args, **kwargs)
class ParticipantListView(generic.ListView):
@@ -66,4 +66,4 @@ class ParticipantListView(generic.ListView):
def dispatch(self, request, *args, **kwargs):
if not DefaultWorkflow.has_global_permission(request.user, 'payment'):
raise PermissionDenied('payment')
return super(ParticipantListView, self).dispatch(request, *args, **kwargs)
return super().dispatch(request, *args, **kwargs)