diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-05 03:15:43 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-05 03:15:43 +0000 |
commit | c6eaf1ba7f6897232a0ed3991149dd2863d33560 (patch) | |
tree | 777f78c70120ed33edbf4932984b883609a376e1 | |
parent | ae25fc16394cfac5b276e77bb5f927f63430ad53 (diff) | |
download | rdiff-backup-c6eaf1ba7f6897232a0ed3991149dd2863d33560.tar.gz |
Some changes to work with new DestructiveStepping format
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@66 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-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""" |