diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-21 16:43:59 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-21 16:43:59 +0100 |
commit | 45f39d481eb0e593a884c3d6641e8606e97ea7ac (patch) | |
tree | c78de066e44dbe1d443141f26e632a897fa2078d /alot/widgets | |
parent | 56f41be8d02fa3424ba9888765f83a223393003d (diff) |
db/message: make sure not to leave temporary files around
Use a contextlib.ExitStack to remove the temporary file used by external
handler, even if an exception is raised.
Diffstat (limited to 'alot/widgets')
0 files changed, 0 insertions, 0 deletions