mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 01:06:50 +00:00
io.write_commit() already implies io.close_segment()
This commit is contained in:
parent
57845c07ed
commit
3321a887d3
1 changed files with 0 additions and 1 deletions
|
@ -300,7 +300,6 @@ def report_error(msg):
|
|||
report_error('Adding commit tag to segment {}'.format(transaction_id))
|
||||
self.io.segment = transaction_id + 1
|
||||
self.io.write_commit()
|
||||
self.io.close_segment()
|
||||
if current_index and not repair:
|
||||
if len(current_index) != len(self.index):
|
||||
report_error('Index object count mismatch. {} != {}'.format(len(current_index), len(self.index)))
|
||||
|
|
Loading…
Reference in a new issue