From 65c835e991cb017219186aea094423411483c96f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 21 May 2016 00:19:54 +0800 Subject: [PATCH] Revert "flash: close tempfile before deleting (#256)" This reverts commit 5f11dbf319c2ee084f3779bbc89575138b159b71. --- artiq/frontend/artiq_flash.py | 1 - 1 file changed, 1 deletion(-) diff --git a/artiq/frontend/artiq_flash.py b/artiq/frontend/artiq_flash.py index 9e360ec87..c6aea8fb7 100755 --- a/artiq/frontend/artiq_flash.py +++ b/artiq/frontend/artiq_flash.py @@ -129,7 +129,6 @@ def main(): ]) finally: if conv: - os.close(bin_handle) os.unlink(bin)