]> arthur.barton.de Git - bup.git/commit
hlinkdb.py: clean up temp file more carefully
authorRob Browning <rlb@defaultvalue.org>
Thu, 17 Jul 2014 17:47:43 +0000 (12:47 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 7 Feb 2015 17:00:42 +0000 (11:00 -0600)
commit182dc23ae073e56b11943177d8c662e209c8a9c7
tree5954ad8558c9b714c0613ecf710a197cad449f33
parent1fbc330e80eb1173db466bb1e36e5d7205cfffdf
hlinkdb.py: clean up temp file more carefully

Make sure to always close the temp file, and if something goes wrong
while preparing the save, make sure to delete it and remove it from
consideration by commit.

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