summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/destructive_stepping.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/src/destructive_stepping.py')
-rw-r--r--rdiff-backup/src/destructive_stepping.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/rdiff-backup/src/destructive_stepping.py b/rdiff-backup/src/destructive_stepping.py
index f5d9cc3..7dfde11 100644
--- a/rdiff-backup/src/destructive_stepping.py
+++ b/rdiff-backup/src/destructive_stepping.py
@@ -189,7 +189,7 @@ class DSRPath(RPath):
return self.__class__(self.source, self.conn, self.base, index)
-class DestructiveSteppingFinalizer(IterTreeReducer):
+class DestructiveSteppingFinalizer(ErrorITR):
"""Finalizer that can work on an iterator of dsrpaths
The reason we have to use an IterTreeReducer is that some files
@@ -203,11 +203,6 @@ class DestructiveSteppingFinalizer(IterTreeReducer):
self.dsrpath = dsrpath
def end_process(self):
- if self.dsrpath:
- Robust.check_common_error(self.dsrpath.write_changes,
- lambda exc: Log("Error %s finalizing file %s" %
- (str(exc), dsrp.path)))
-
-
+ if self.dsrpath: self.dsrpath.write_changes()