viff

changeset 1209:ec281b1151e1

Treat finish_mul() as complex callback because it calls open().
author Marcel Keller <mkeller@cs.au.dk>
date Thu, 10 Sep 2009 18:41:07 +0200
parents 49c14731cf5e
children 7eb99c27a46e
files viff/active.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/viff/active.py	Thu Sep 10 16:20:06 2009 +0200
     1.2 +++ b/viff/active.py	Thu Sep 10 18:41:07 2009 +0200
     1.3 @@ -514,7 +514,7 @@
     1.4          # This is the Deferred we will do processing on.
     1.5          triple = self.get_triple(share_x.field)
     1.6          triple.addCallback(gather_shares)
     1.7 -        self.schedule_callback(triple, finish_mul)
     1.8 +        triple = self.schedule_complex_callback(triple, finish_mul)
     1.9          # We add the result to the chains in triple.
    1.10          triple.chainDeferred(result)
    1.11          return result