Include block_pair size in report
This commit is contained in:
parent
385f4a1d15
commit
ac1f02c3a0
1 changed files with 2 additions and 1 deletions
|
|
@ -489,8 +489,9 @@ class RecoveryState():
|
|||
percent = (b_pair.rescued / b_pair.size) * 100
|
||||
except ZeroDivisionError:
|
||||
percent = 0
|
||||
report.append('{} rescued: {:0.2f}% error size: {}'.format(
|
||||
report.append('{} ({}) rescued: {:0.2f}% error size: {}'.format(
|
||||
b_pair.source.path,
|
||||
human_readable_size(b_pair.source.size, decimals=1),
|
||||
percent,
|
||||
human_readable_size(b_pair.size-b_pair.rescued, decimals=2),
|
||||
))
|
||||
|
|
|
|||
Loading…
Reference in a new issue