CAs: Fix final new line in json

pull/99/head
Vincent Brillault 2019-03-29 16:57:54 +01:00
parent d4e749c3e6
commit af7e5a188c
No known key found for this signature in database
GPG Key ID: CFEA15DE034F0688
3 changed files with 3 additions and 2 deletions

View File

@ -481,4 +481,4 @@
"name": "Fingerprint of trusted CA certificates",
"type": "string",
"version": 20190329
}
}

View File

@ -9895,4 +9895,4 @@
"name": "Fingerprint of known intermedicate of trusted certificates",
"type": "string",
"version": 20190329
}
}

View File

@ -46,6 +46,7 @@ def process(file, dst, type):
warninglist['matching_attributes'] = ["md5", "sha1", "sha256", "filename|md5", "filename|sha1", "filename|sha256", "x509-fingerprint-md5", "x509-fingerprint-sha1", "x509-fingerprint-sha256"]
with open('../lists/{dst}/list.json'.format(dst=dst), 'w') as data_file:
json.dump(warninglist, data_file, indent=2, sort_keys=True)
data_file.write("\n")
if __name__ == '__main__':
download(Included_CA_url, Included_CA_file)