changeset 209:df157db8e521

ideal_functionality: take argument secrets
author Sigurd Meldgaard <stm@daimi.au.dk>
date Mon, 21 Dec 2009 12:03:51 +0100
parents 87a8f29541b5
children 35619b409e2e
files pysmcl/ideal_functionality.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/ideal_functionality.py	Mon Dec 21 12:01:44 2009 +0100
+++ b/pysmcl/ideal_functionality.py	Mon Dec 21 12:03:51 2009 +0100
@@ -12,7 +12,7 @@
 debug = True
 
 
-def ideal_functionality(range={}):
+def ideal_functionality(range={}, secrets=[]):
     def ideal_functionality_helper(f):
         source_str = inspect.getsource(f)
         source_ast = ast.parse(source_str) # Returns a module