]> arthur.barton.de Git - bup.git/commit
_write_pack_idx_v2: close idx_map separately
authorRob Browning <rlb@defaultvalue.org>
Sun, 3 Jan 2016 17:59:17 +0000 (11:59 -0600)
committerRob Browning <rlb@defaultvalue.org>
Mon, 18 Jan 2016 17:30:09 +0000 (11:30 -0600)
commitd9fda6104edab546e25b1817f282dd18fc062998
treebdba21dcb834c05e94ad22076ed3fb24dd598d1a
parentbaea96b9501d675d2c181d176a8ee901be67bdb1
_write_pack_idx_v2: close idx_map separately

...in its own finally block, so that the idx_f close will be attempted
even if the idx_map close throws an exception.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/git.py