mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-06 12:40:02 +00:00
generate_test_keys: do not quit script if output file already exists
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
0ddab0ecee
commit
5ce51b153c
@ -100,10 +100,6 @@ def main() -> None:
|
||||
args = argparser.parse_args()
|
||||
|
||||
output_file = args.output
|
||||
# If the output file already exists, then we can quit (successfully)
|
||||
if os.path.exists(output_file):
|
||||
return
|
||||
|
||||
output_file = open(output_file, 'at')
|
||||
output_file.write(
|
||||
"/*********************************************************************************\n" +
|
||||
|
Loading…
x
Reference in New Issue
Block a user