changeset 1371:62c4034a06a3

Orlandi: Fix Python 2.4 issue.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Thu, 29 Oct 2009 14:43:25 +0100
parents d93acdb61f34
children 151d4f58ff49 8a4d4e8e99eb
files viff/test/test_orlandi_runtime.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/viff/test/test_orlandi_runtime.py	Thu Oct 29 13:46:21 2009 +0100
+++ b/viff/test/test_orlandi_runtime.py	Thu Oct 29 14:43:25 2009 +0100
@@ -274,7 +274,7 @@
     def generate_configs(self, *args):
         global keys
         if not keys:
-            keys = generate_configs(*args, paillier=NaClPaillier(1024))
+            keys = generate_configs(paillier=NaClPaillier(1024), *args)
         return keys
         
 
@@ -638,8 +638,9 @@
 
     def generate_configs(self, *args):
         global keys
+        print "AAA"
         if not keys:
-            keys = generate_configs(*args, paillier=NaClPaillier(1024))
+            keys = generate_configs(paillier=NaClPaillier(1024), *args)
         return keys
 
     @protocol