summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-05-05 03:15:43 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-05-05 03:15:43 +0000
commitc6eaf1ba7f6897232a0ed3991149dd2863d33560 (patch)
tree777f78c70120ed33edbf4932984b883609a376e1
parentae25fc16394cfac5b276e77bb5f927f63430ad53 (diff)
downloadrdiff-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.py6
-rw-r--r--rdiff-backup/src/selection.py6
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"""