viff

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 diff
     1.1 --- a/viff/active.py	Tue Oct 27 20:46:38 2009 +0100
     1.2 +++ b/viff/active.py	Tue Oct 27 21:05:48 2009 +0100
     1.3 @@ -21,7 +21,7 @@
     1.4  
     1.5  from gmpy import numdigits
     1.6  
     1.7 -from twisted.internet.defer import gatherResults, Deferred, succeed
     1.8 +from twisted.internet.defer import gatherResults, Deferred
     1.9  
    1.10  from viff import shamir
    1.11  from viff.util import rand
     2.1 --- a/viff/passive.py	Tue Oct 27 20:46:38 2009 +0100
     2.2 +++ b/viff/passive.py	Tue Oct 27 21:05:48 2009 +0100
     2.3 @@ -27,7 +27,7 @@
     2.4  from viff.field import GF256, FieldElement
     2.5  from viff.util import rand, profile
     2.6  
     2.7 -from twisted.internet.defer import succeed, gatherResults
     2.8 +from twisted.internet.defer import gatherResults
     2.9  
    2.10  
    2.11  class PassiveRuntime(Runtime):
     3.1 --- a/viff/runtime.py	Tue Oct 27 20:46:38 2009 +0100
     3.2 +++ b/viff/runtime.py	Tue Oct 27 21:05:48 2009 +0100
     3.3 @@ -39,14 +39,14 @@
     3.4  import sys
     3.5  
     3.6  from viff.field import GF256, FieldElement
     3.7 -from viff.util import wrapper, rand, deep_wait, track_memory_usage, begin, end
     3.8 +from viff.util import wrapper, rand, track_memory_usage, begin, end
     3.9  from viff.constants import SHARE
    3.10  import viff.reactor
    3.11  
    3.12  from twisted.internet import reactor
    3.13  from twisted.internet.task import LoopingCall
    3.14  from twisted.internet.error import ConnectionDone, CannotListenError
    3.15 -from twisted.internet.defer import Deferred, DeferredList, gatherResults, succeed
    3.16 +from twisted.internet.defer import Deferred, DeferredList, gatherResults
    3.17  from twisted.internet.defer import maybeDeferred
    3.18  from twisted.internet.protocol import ReconnectingClientFactory, ServerFactory
    3.19  from twisted.protocols.basic import Int16StringReceiver