diff options
author | Marvin Scholz <epirat07@gmail.com> | 2022-03-30 18:41:54 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-11-22 22:53:07 -0500 |
commit | 49cd97c43487551a6b8bac4c5560bb2053270009 (patch) | |
tree | 6b718e9ee9c3330c3d3124af9291e3489dc68e8d /docs/refman/jsonschema.py | |
parent | 08262c3102e250759c09f5cdde80f13fbbf3dc08 (diff) | |
download | meson-49cd97c43487551a6b8bac4c5560bb2053270009.zip meson-49cd97c43487551a6b8bac4c5560bb2053270009.tar.gz meson-49cd97c43487551a6b8bac4c5560bb2053270009.tar.bz2 |
unittests: add and use _open_meson_log function
Factors out opening the meson log into its own function so that
it can be used in the places where with was done before.
Additionally instead of checking if the file exists before opening it,
try to open it and handle the exception when it is not found.
Diffstat (limited to 'docs/refman/jsonschema.py')
0 files changed, 0 insertions, 0 deletions