diff options
-rw-r--r-- | rdiff-backup/rdiff_backup/selection.py | 6 | ||||
-rw-r--r-- | rdiff-backup/src/selection.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/rdiff-backup/rdiff_backup/selection.py b/rdiff-backup/rdiff_backup/selection.py index 7405491..3ed24bc 100644 --- a/rdiff-backup/rdiff_backup/selection.py +++ b/rdiff-backup/rdiff_backup/selection.py @@ -143,11 +143,11 @@ class Select: def iterate_with_finalizer(self): """Like Iterate, but missing some options, and add finalizer""" - finalize = DestructiveStepping.Finalizer() + finalize = DestructiveSteppingFinalizer() for dsrp in self: yield dsrp - finalize(dsrp) - finalize.getresult() + finalize(dsrp.index, dsrp) + finalize.Finish() def Select(self, dsrp): """Run through the selection functions and return dominant val 0/1/2""" diff --git a/rdiff-backup/src/selection.py b/rdiff-backup/src/selection.py index 7405491..3ed24bc 100644 --- a/rdiff-backup/src/selection.py +++ b/rdiff-backup/src/selection.py @@ -143,11 +143,11 @@ class Select: def iterate_with_finalizer(self): """Like Iterate, but missing some options, and add finalizer""" - finalize = DestructiveStepping.Finalizer() + finalize = DestructiveSteppingFinalizer() for dsrp in self: yield dsrp - finalize(dsrp) - finalize.getresult() + finalize(dsrp.index, dsrp) + finalize.Finish() def Select(self, dsrp): """Run through the selection functions and return dominant val 0/1/2""" |