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
vidjil
vidjil
Commits
5480d223
Commit
5480d223
authored
Apr 28, 2015
by
Mikaël Salson
Browse files
models/task.py: Raise the same error, no reason to discard the message
parent
eab4bdc0
Changes
1
Show whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/models/task.py
View file @
5480d223
...
...
@@ -347,10 +347,10 @@ def custom_fuse(file_list):
try
:
f
=
open
(
fuse_filepath
,
'rb'
)
data
=
gluon
.
contrib
.
simplejson
.
loads
(
f
.
read
())
except
IOError
:
except
IOError
,
e
:
res
=
{
"message"
:
"'custom fuse' -> IOError"
}
log
.
error
(
res
)
raise
IOError
raise
e
clean_cmd
=
"rm -rf "
+
out_folder
p
=
Popen
(
clean_cmd
,
shell
=
True
,
stdin
=
PIPE
,
stdout
=
PIPE
,
stderr
=
STDOUT
,
close_fds
=
True
)
...
...
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