diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-24 14:24:10 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-24 17:03:50 +0000 |
| commit | d5bc255aa50a9181a3258b17c07b8da0890cb035 (patch) | |
| tree | fa23ebf8519acf8c3fb010fc3312148ef445f6e8 /build_scripts/utils.py | |
| parent | 0a00958b083008dea340ef78b0f235ca49b7d22c (diff) | |
shiboken6: Refactor writing out files
Write the buffer directly to the file instead of
reopening the text stream on it (which has unclear encoding
semantics). Add error handling on this occasion.
Change-Id: Ifd478f96a73dbc21e441fed8b8e543f07b6fa00b
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/utils.py')
0 files changed, 0 insertions, 0 deletions
