/rev/878eeda73dab changeset: 1312:878eeda73dab user: Martin Geisler <[email protected]> date: Mon Oct 19 17:48:11 2009 +0200 summary: removed unused imports
diffstat: apps/benchmark.py | 1 - viff/hash_broadcast.py | 2 +- viff/orlandi.py | 2 +- viff/test/test_hash_broadcast.py | 3 +-- viff/test/test_orlandi_runtime.py | 5 ++--- 5 files changed, 5 insertions(+), 8 deletions(-) diffs (73 lines): diff -r b428f2b066c5 -r 878eeda73dab apps/benchmark.py --- a/apps/benchmark.py Mon Oct 19 17:21:03 2009 +0200 +++ b/apps/benchmark.py Mon Oct 19 17:48:11 2009 +0200 @@ -57,7 +57,6 @@ import time from math import log from optparse import OptionParser -import operator import viff.reactor viff.reactor.install() diff -r b428f2b066c5 -r 878eeda73dab viff/hash_broadcast.py --- a/viff/hash_broadcast.py Mon Oct 19 17:21:03 2009 +0200 +++ b/viff/hash_broadcast.py Mon Oct 19 17:48:11 2009 +0200 @@ -17,7 +17,7 @@ # You should have received a copy of the GNU Lesser General Public # License along with VIFF. If not, see <http://www.gnu.org/licenses/>. -from twisted.internet.defer import gatherResults, Deferred, DeferredList +from twisted.internet.defer import Deferred try: from hashlib import sha1 diff -r b428f2b066c5 -r 878eeda73dab viff/orlandi.py --- a/viff/orlandi.py Mon Oct 19 17:21:03 2009 +0200 +++ b/viff/orlandi.py Mon Oct 19 17:48:11 2009 +0200 @@ -15,7 +15,7 @@ # You should have received a copy of the GNU Lesser General Public # License along with VIFF. If not, see <http://www.gnu.org/licenses/>. -from twisted.internet.defer import Deferred, DeferredList, gatherResults +from twisted.internet.defer import Deferred, gatherResults from viff.runtime import Runtime, Share, ShareList, gather_shares, preprocess from viff.util import rand diff -r b428f2b066c5 -r 878eeda73dab viff/test/test_hash_broadcast.py --- a/viff/test/test_hash_broadcast.py Mon Oct 19 17:21:03 2009 +0200 +++ b/viff/test/test_hash_broadcast.py Mon Oct 19 17:48:11 2009 +0200 @@ -15,11 +15,10 @@ # You should have received a copy of the GNU Lesser General Public # License along with VIFF. If not, see <http://www.gnu.org/licenses/>. -from twisted.internet.defer import gatherResults, Deferred, DeferredList +from twisted.internet.defer import Deferred, DeferredList from viff.test.util import RuntimeTestCase, protocol from viff.field import GF -from viff.runtime import Share from viff.comparison import Toft05Runtime from viff.hash_broadcast import HashBroadcastMixin diff -r b428f2b066c5 -r 878eeda73dab viff/test/test_orlandi_runtime.py --- a/viff/test/test_orlandi_runtime.py Mon Oct 19 17:21:03 2009 +0200 +++ b/viff/test/test_orlandi_runtime.py Mon Oct 19 17:48:11 2009 +0200 @@ -17,8 +17,8 @@ from twisted.internet.defer import gatherResults, DeferredList -from viff.test.util import RuntimeTestCase, protocol, BinaryOperatorTestCase -from viff.runtime import Share, gather_shares +from viff.test.util import RuntimeTestCase, protocol +from viff.runtime import gather_shares try: from viff.orlandi import OrlandiRuntime, OrlandiShare import commitment @@ -28,7 +28,6 @@ OrlandiShare = None from viff.field import FieldElement, GF -from viff.passive import PassiveRuntime from viff.util import rand _______________________________________________ viff-commits mailing list [email protected] http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk
