Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.toolbox
Commits
cd545748
Commit
cd545748
authored
Nov 20, 2018
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resilient: writing signatures in the file should be done outside of the loop
parent
4037453c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
slapos/resilient/runner_utils.py
slapos/resilient/runner_utils.py
+3
-3
No files found.
slapos/resilient/runner_utils.py
View file @
cd545748
...
@@ -149,6 +149,6 @@ def writeSignatureFile(slappart_signature_method_dict, runner_working_path, sign
...
@@ -149,6 +149,6 @@ def writeSignatureFile(slappart_signature_method_dict, runner_working_path, sign
])
])
)
)
# Write the signatures in file
# Write the signatures in file
with
open
(
signature_file_path
,
'w+'
)
as
signature_file
:
with
open
(
signature_file_path
,
'w+'
)
as
signature_file
:
signature_file
.
write
(
"
\
n
"
.
join
(
sorted
(
signature_list
)))
signature_file
.
write
(
"
\
n
"
.
join
(
sorted
(
signature_list
)))
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