mbedtls/scripts
Gilles Peskine 7261fff37b Switch assemble_changelog to using text strings
Changelog contents should be UTF-8 text files. There's no need to be
binary-safe. So switch to using text strings in Python (str, not bytes). This
commit makes the following changes:
* Bytes literals (b'…') to string literals ('…').
* Subprocess output (which is all git information) is decoded as ascii.
* Inject text directly in exceptions rather than calling a decode method.

This is enough to make the script work as desired in a UTF-8 locale.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-05-20 10:37:22 +02:00
..
data_files Merge pull request #4006 from chris-jones-arm/development 2021-04-28 16:47:29 +02:00
mbedtls_dev Improve MSVC detection 2021-05-20 10:37:22 +02:00
abi_check.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
apidoc_full.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
assemble_changelog.py Switch assemble_changelog to using text strings 2021-05-20 10:37:22 +02:00
bump_version.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
config.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
config.py Remove MBEDTLS_X509_REMOVE_INFO from scripts/config.pl full 2021-04-27 17:20:52 +01:00
ecc-heap.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
find-mem-leak.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
footprint.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate_errors.pl Accept Windows line endings on inputs on any platform 2021-05-20 10:37:22 +02:00
generate_features.pl Accept Windows line endings on inputs on any platform 2021-05-20 10:37:22 +02:00
generate_psa_constants.py Allow running source file generators from a subdirectory 2021-05-17 22:46:27 +02:00
generate_query_config.pl Allow running source file generators from a subdirectory 2021-05-17 22:46:27 +02:00
generate_visualc_files.pl Simplify line ending management and make it work on Windows 2021-05-20 10:37:22 +02:00
make_generated_files.bat Explicitly specify exit code for "exit /b" 2021-05-20 10:37:22 +02:00
massif_max.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
memory.sh Remove certs module from mbedtls. 2021-03-16 15:51:25 +01:00
output_env.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
rm-calloc-cast.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
tmp_ignore_makefiles.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
windows_msbuild.bat Add a simple build script for Windows with Visual Studio 2020-04-26 20:52:04 +02:00