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:
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"""
......
......@@ -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"""
......
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