Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ActEV
diva_evaluation_cli
Commits
d6210f98
Commit
d6210f98
authored
Nov 29, 2018
by
Alexandre Boyer
Browse files
fix bug in actev status
parent
fc9e0621
Pipeline
#125030
passed with stage
in 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
diva_evaluation_cli/bin/private_src/implementation/status/status_factory.py
View file @
d6210f98
...
...
@@ -34,7 +34,7 @@ class StatusFactory():
json_command_states
[
command
.
command
].
append
({
'status'
:
status
,
'id'
:
json_command_states
[
'id'
],
'args'
:
args
})
except
:
logging
.
warning
(
"Status monitoring improperly terminated: status reset"
)
os
.
remove
(
states_filename
)
os
.
remove
(
command_states_log
)
if
not
os
.
path
.
isfile
(
command_states_log
)
or
os
.
stat
(
command_states_log
).
st_size
==
0
:
StatusFactory
.
generate_file
(
command_states_log
,
public_subcommands
,
json_command_states
)
...
...
Write
Preview
Supports
Markdown
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