/rev/6bbe043fe837
changeset: 1314:6bbe043fe837
user: Martin Geisler <[email protected]>
date: Thu Oct 22 12:52:09 2009 +0200
summary: active: removed unnecessary schedule_callback
diffstat:
viff/active.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 81be1830f33e -r 6bbe043fe837 viff/active.py
--- a/viff/active.py Wed Oct 21 11:03:58 2009 +0200
+++ b/viff/active.py Thu Oct 22 12:52:09 2009 +0200
@@ -256,7 +256,7 @@
else:
si.append(self._expect_share(peer_id, field))
result = gatherResults(si)
- self.schedule_callback(result, verify)
+ result.addCallback(verify)
return result
else:
# We cannot verify anything, so we just return the
@@ -358,7 +358,7 @@
si_1.append(self._expect_share(peer_id, field))
si_2.append(self._expect_share(peer_id, field))
result = gatherResults([gatherResults(si_1),
gatherResults(si_2)])
- self.schedule_callback(result, verify)
+ result.addCallback(verify)
return result
else:
# We cannot verify anything, so we just return the
_______________________________________________
viff-commits mailing list
[email protected]
http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk