Commit 33e22a73 authored by ben's avatar ben

Some changes to work with new DestructiveStepping format


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@66 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 4dae9549
...@@ -143,11 +143,11 @@ class Select: ...@@ -143,11 +143,11 @@ class Select:
def iterate_with_finalizer(self): def iterate_with_finalizer(self):
"""Like Iterate, but missing some options, and add finalizer""" """Like Iterate, but missing some options, and add finalizer"""
finalize = DestructiveStepping.Finalizer() finalize = DestructiveSteppingFinalizer()
for dsrp in self: for dsrp in self:
yield dsrp yield dsrp
finalize(dsrp) finalize(dsrp.index, dsrp)
finalize.getresult() finalize.Finish()
def Select(self, dsrp): def Select(self, dsrp):
"""Run through the selection functions and return dominant val 0/1/2""" """Run through the selection functions and return dominant val 0/1/2"""
......
...@@ -143,11 +143,11 @@ class Select: ...@@ -143,11 +143,11 @@ class Select:
def iterate_with_finalizer(self): def iterate_with_finalizer(self):
"""Like Iterate, but missing some options, and add finalizer""" """Like Iterate, but missing some options, and add finalizer"""
finalize = DestructiveStepping.Finalizer() finalize = DestructiveSteppingFinalizer()
for dsrp in self: for dsrp in self:
yield dsrp yield dsrp
finalize(dsrp) finalize(dsrp.index, dsrp)
finalize.getresult() finalize.Finish()
def Select(self, dsrp): def Select(self, dsrp):
"""Run through the selection functions and return dominant val 0/1/2""" """Run through the selection functions and return dominant val 0/1/2"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment