Home
last modified time | relevance | path

Searched hist:"1718 b6c982db6d32f7a85f40a309578e5f882799" (Results 1 – 1 of 1) sorted by relevance

/optee_os/scripts/
H A Dpem_to_pub_c.py1718b6c982db6d32f7a85f40a309578e5f882799 Tue Apr 30 10:06:14 UTC 2019 Markus S. Wamser <markus.wamser@mixed-mode.de> pem_to_pub_c.py: Rework code to be more pythonic

Instances of open() were wrapped in with statements to ensure proper
closing of files even in the case of errors. This also improves
the readability of the code.

Signed-off-by: Markus S. Wamser <markus.wamser@mixed-mode.de>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
[jf: add file name to commit subject and use imperative mood]
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>