http://hg.viff.dk/viff/rev/622604a6d772
changeset: 1119:622604a6d772
user:      Martin Geisler <[email protected]>
date:      Tue Mar 10 09:39:18 2009 +0100
summary:   Make keysize an optional argument.

The test suite was broken since it didn't pass this argument, this
unbreaks it again and is backwards compatible for other callers.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
viff/config.py |    2 +-

diffs (12 lines):

diff -r 88d6a083a513 -r 622604a6d772 viff/config.py
--- a/viff/config.py    Tue Mar 10 08:59:38 2009 +0100
+++ b/viff/config.py    Tue Mar 10 09:39:18 2009 +0100
@@ -152,7 +152,7 @@
     return owner_id, players
 
 
-def generate_configs(n, t, keysize, addresses=None, prefix=None, 
skip_prss=False):
+def generate_configs(n, t, keysize=1024, addresses=None, prefix=None, 
skip_prss=False):
     """Generate player configurations.
 
     Generates *n* configuration objects with a threshold of *t*. The
_______________________________________________
viff-commits mailing list
[email protected]
http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk

Reply via email to