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 wrap: on
line diff
--- a/viff/active.py	Thu Sep 10 16:20:06 2009 +0200
+++ b/viff/active.py	Thu Sep 10 18:41:07 2009 +0200
@@ -514,7 +514,7 @@
         # This is the Deferred we will do processing on.
         triple = self.get_triple(share_x.field)
         triple.addCallback(gather_shares)
-        self.schedule_callback(triple, finish_mul)
+        triple = self.schedule_complex_callback(triple, finish_mul)
         # We add the result to the chains in triple.
         triple.chainDeferred(result)
         return result