Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
main
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
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
Simone Rossi
main
Commits
5d609428
Commit
5d609428
authored
Oct 24, 2016
by
Daniele Venzano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pylint errors
parent
5b995566
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
zoe_lib/exec_logs.py
zoe_lib/exec_logs.py
+3
-3
zoe_master/execution_manager.py
zoe_master/execution_manager.py
+0
-1
No files found.
zoe_lib/exec_logs.py
View file @
5d609428
...
...
@@ -27,7 +27,7 @@ log = logging.getLogger(__name__)
def
_path_from_execution
(
execution
:
Execution
):
return
os
.
path
.
join
(
get_conf
().
service_log_path
,
get_conf
().
deployment_name
,
str
(
execution
.
id
))
return
os
.
path
.
join
(
get_conf
().
service_log_path
,
get_conf
().
deployment_name
,
str
(
execution
.
id
))
def
_init
(
execution
:
Execution
):
...
...
@@ -62,9 +62,9 @@ def save(execution: Execution):
if
log_gen
is
None
:
_shutdown
()
return
with
open
(
fpath
,
'wb'
)
as
fp
:
with
open
(
fpath
,
'wb'
)
as
out_
fp
:
for
line
in
log_gen
:
fp
.
write
(
line
)
out_
fp
.
write
(
line
)
_shutdown
()
...
...
zoe_master/execution_manager.py
View file @
5d609428
...
...
@@ -19,7 +19,6 @@ import logging
from
zoe_lib.sql_manager
import
Execution
,
SQLManager
from
zoe_lib
import
exec_logs
from
zoe_lib.config
import
get_conf
from
zoe_master.scheduler
import
ZoeScheduler
...
...
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