btt_plot.py: Use `with open() as ...` context manager
authorVincent Legoll <vincent.legoll@gmail.com>
Fri, 20 Mar 2020 21:44:59 +0000 (22:44 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 Mar 2020 21:53:50 +0000 (15:53 -0600)
commitdb4f6340e04716285ea56fe26d76381c3adabe58
tree82f6f687efb145512f49a5c15cb6861b11ef3a74
parent7b2525ab235a38cfce57c44f54730086b66e7765
btt_plot.py: Use `with open() as ...` context manager

to automatically handle close()

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
btt/btt_plot.py