Commit 185cb4cf authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

PEP 3135 enforcement

Resolves: #179

Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent 96741268
...@@ -455,7 +455,7 @@ class JobDetail(LoginRequiredMixin, DetailView): ...@@ -455,7 +455,7 @@ class JobDetail(LoginRequiredMixin, DetailView):
kwargs['files'] = [os.path.basename(x) for x in glob.glob(os.path.join(dirname, '*'))] kwargs['files'] = [os.path.basename(x) for x in glob.glob(os.path.join(dirname, '*'))]
else: else:
kwargs['files'] = [] kwargs['files'] = []
return super(JobDetail, self).get_context_data(**kwargs) return super().get_context_data(**kwargs)
class JobCreate(SuccessMessageMixin, LoginRequiredMixin, CreateView): class JobCreate(SuccessMessageMixin, LoginRequiredMixin, CreateView):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment