Commit cd545748 authored by Nicolas Wavrant's avatar Nicolas Wavrant

resilient: writing signatures in the file should be done outside of the loop

parent 4037453c
......@@ -149,6 +149,6 @@ def writeSignatureFile(slappart_signature_method_dict, runner_working_path, sign
])
)
# Write the signatures in file
with open(signature_file_path, 'w+') as signature_file:
signature_file.write("\n".join(sorted(signature_list)))
# Write the signatures in file
with open(signature_file_path, 'w+') as signature_file:
signature_file.write("\n".join(sorted(signature_list)))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment