Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
allgo
allgo
Commits
185cb4cf
Commit
185cb4cf
authored
Jun 20, 2018
by
BERJON Matthieu
Browse files
PEP 3135 enforcement
Resolves:
#179
Signed-off-by:
Matthieu Berjon
<
matthieu.berjon@inria.fr
>
parent
96741268
Changes
1
Hide whitespace changes
Inline
Side-by-side
django/allgo/main/views.py
View file @
185cb4cf
...
...
@@ -455,7 +455,7 @@ class JobDetail(LoginRequiredMixin, DetailView):
kwargs
[
'files'
]
=
[
os
.
path
.
basename
(
x
)
for
x
in
glob
.
glob
(
os
.
path
.
join
(
dirname
,
'*'
))]
else
:
kwargs
[
'files'
]
=
[]
return
super
(
JobDetail
,
self
).
get_context_data
(
**
kwargs
)
return
super
().
get_context_data
(
**
kwargs
)
class
JobCreate
(
SuccessMessageMixin
,
LoginRequiredMixin
,
CreateView
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment