Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arnaud Véron
slapos.core
Commits
3ba5547c
Commit
3ba5547c
authored
Oct 24, 2016
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix slapgrid error-log file is removed before end of execution
parent
f7254b78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+1
-1
No files found.
slapos/grid/slapgrid.py
View file @
3ba5547c
...
@@ -1121,7 +1121,7 @@ stderr_logfile_backups=1
...
@@ -1121,7 +1121,7 @@ stderr_logfile_backups=1
# Write error message in a log file assible to computer partition user
# Write error message in a log file assible to computer partition user
error_file
.
write
(
str
(
e
))
error_file
.
write
(
str
(
e
))
raise
raise
finally
:
else
:
self
.
logger
.
removeHandler
(
partition_file_handler
)
self
.
logger
.
removeHandler
(
partition_file_handler
)
if
os
.
path
.
exists
(
error_output_file
):
if
os
.
path
.
exists
(
error_output_file
):
os
.
unlink
(
error_output_file
)
os
.
unlink
(
error_output_file
)
...
...
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