changeset 1151:56f0b5a1b41e

Removed unnecessary cache updates.
author Martin Geisler <mg@daimi.au.dk>
date Fri, 27 Mar 2009 15:28:23 +0100
parents 3ed76dce61d6
children 295772b6b49a
files viff/config.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/viff/config.py	Fri Mar 27 14:18:47 2009 +0100
+++ b/viff/config.py	Fri Mar 27 15:28:23 2009 +0100
@@ -1,4 +1,4 @@
-# Copyright 2007, 2008 VIFF Development Team.
+# Copyright 2007, 2008, 2009 VIFF Development Team.
 #
 # This file is part of VIFF, the Virtual Ideal Functionality Framework.
 #
@@ -88,8 +88,8 @@
                 prfs = {}
                 for subset, key in keys.iteritems():
                     prfs[subset] = PRF(key, modulus)
-                    dealers[dealer] = prfs
-                    self.dealers_cache[modulus] = dealers
+                dealers[dealer] = prfs
+            self.dealers_cache[modulus] = dealers
         return dealers
 
     def __repr__(self):