changeset 1343:ab118728e88d

viff: Removed unused imports.
author Marcel Keller <mkeller@cs.au.dk>
date Tue, 27 Oct 2009 21:05:48 +0100
parents 3a87b4d84eb6
children eb9f159eea68
files viff/active.py viff/passive.py viff/runtime.py
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/viff/active.py	Tue Oct 27 20:46:38 2009 +0100
+++ b/viff/active.py	Tue Oct 27 21:05:48 2009 +0100
@@ -21,7 +21,7 @@
 
 from gmpy import numdigits
 
-from twisted.internet.defer import gatherResults, Deferred, succeed
+from twisted.internet.defer import gatherResults, Deferred
 
 from viff import shamir
 from viff.util import rand
--- a/viff/passive.py	Tue Oct 27 20:46:38 2009 +0100
+++ b/viff/passive.py	Tue Oct 27 21:05:48 2009 +0100
@@ -27,7 +27,7 @@
 from viff.field import GF256, FieldElement
 from viff.util import rand, profile
 
-from twisted.internet.defer import succeed, gatherResults
+from twisted.internet.defer import gatherResults
 
 
 class PassiveRuntime(Runtime):
--- a/viff/runtime.py	Tue Oct 27 20:46:38 2009 +0100
+++ b/viff/runtime.py	Tue Oct 27 21:05:48 2009 +0100
@@ -39,14 +39,14 @@
 import sys
 
 from viff.field import GF256, FieldElement
-from viff.util import wrapper, rand, deep_wait, track_memory_usage, begin, end
+from viff.util import wrapper, rand, track_memory_usage, begin, end
 from viff.constants import SHARE
 import viff.reactor
 
 from twisted.internet import reactor
 from twisted.internet.task import LoopingCall
 from twisted.internet.error import ConnectionDone, CannotListenError
-from twisted.internet.defer import Deferred, DeferredList, gatherResults, succeed
+from twisted.internet.defer import Deferred, DeferredList, gatherResults
 from twisted.internet.defer import maybeDeferred
 from twisted.internet.protocol import ReconnectingClientFactory, ServerFactory
 from twisted.protocols.basic import Int16StringReceiver