summaryrefslogtreecommitdiff
path: root/alot/widgets
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-21 16:43:59 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-21 16:43:59 +0100
commit45f39d481eb0e593a884c3d6641e8606e97ea7ac (patch)
treec78de066e44dbe1d443141f26e632a897fa2078d /alot/widgets
parent56f41be8d02fa3424ba9888765f83a223393003d (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