diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-30 23:33:17 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-30 23:33:17 +0000 |
commit | b3c458f96706b7a6ef570434c9c9adc7129912a4 (patch) | |
tree | 147d094408050f337c1ac9b752f61e3be7a23bda /rdiff-backup/src/destructive_stepping.py | |
parent | 316b6ac203137fc5740d1181c941aab1178eeaae (diff) | |
download | rdiff-backup-b3c458f96706b7a6ef570434c9c9adc7129912a4.tar.gz |
Bug fixes to resuming and error correction code
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@112 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/src/destructive_stepping.py')
-rw-r--r-- | rdiff-backup/src/destructive_stepping.py | 9 |
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() |