/rev/13f6a14cafe0
changeset: 1336:13f6a14cafe0
user:      Martin Geisler <[email protected]>
date:      Tue Oct 27 11:35:09 2009 +0100
summary:   benchmark: wrap long lines

diffstat:

 apps/benchmark.py |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r ed3f546283ec -r 13f6a14cafe0 apps/benchmark.py
--- a/apps/benchmark.py Tue Oct 27 11:33:22 2009 +0100
+++ b/apps/benchmark.py Tue Oct 27 11:35:09 2009 +0100
@@ -65,8 +65,8 @@
 from viff.field import GF, FakeGF
 from viff.runtime import Runtime, create_runtime, make_runtime_class
 from viff.passive import PassiveRuntime
-from viff.active import BasicActiveRuntime, \
-    TriplesHyperinvertibleMatricesMixin, TriplesPRSSMixin
+from viff.active import (BasicActiveRuntime,
+                         TriplesHyperinvertibleMatricesMixin, TriplesPRSSMixin)
 from viff.comparison import ComparisonToft05Mixin, ComparisonToft07Mixin
 from viff.equality import ProbabilisticEqualityMixin
 from viff.paillier import PaillierRuntime
@@ -74,8 +74,10 @@
 from viff.config import load_config
 from viff.util import find_prime
 
-from benchutil import SelfcontainedBenchmarkStrategy, \
-    NeededDataBenchmarkStrategy, ParallelBenchmark, SequentialBenchmark, 
BinaryOperation, NullaryOperation
+from benchutil import (SelfcontainedBenchmarkStrategy,
+                       NeededDataBenchmarkStrategy,
+                       ParallelBenchmark, SequentialBenchmark,
+                       BinaryOperation, NullaryOperation)
 
 # Hack in order to avoid Maximum recursion depth exceeded
 # exception;
@@ -235,7 +237,8 @@
 def do_benchmark(runtime, operation, benchmark, field, count, *args):
     benchmark(runtime, operation, field, count).benchmark(*args)
 
-pre_runtime.addCallback(do_benchmark, operation, benchmark, Zp, count, 
needed_data, options.pc)
+pre_runtime.addCallback(do_benchmark, operation, benchmark,
+                        Zp, count, needed_data, options.pc)
 
 print "#### Starting reactor ###"
 reactor.run()
_______________________________________________
viff-commits mailing list
[email protected]
http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk

Reply via email to