From 45ff04984277522eae1a7bcb83db1d0881eae14f Mon Sep 17 00:00:00 2001 From: Lukasz Kosewski Date: Sun, 14 Mar 2010 23:20:08 -0400 Subject: [PATCH] cmd/index-cmd.py: How it pains me to have to explicitly close() stuff If we don't explicitly close() the wr reader object while running update-index, the corresponding writer object won't be able to unlink its temporary file under Cygwin. --- cmd/index-cmd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/index-cmd.py b/cmd/index-cmd.py index c3d9090..15ee023 100755 --- a/cmd/index-cmd.py +++ b/cmd/index-cmd.py @@ -108,6 +108,7 @@ def update_index(top): merge_indexes(mi, ri, wr) ri.close() mi.close() + wr.close() wi.abort() else: wi.close() -- 2.39.2