diff idavoll/memory_storage.py @ 221:a430976f2977

Make a copy of the config to prevent later modification.
author Ralph Meijer <ralphm@ik.nu>
date Sat, 16 Oct 2010 20:56:51 +0200
parents aecfacb5a571
children 0eafdced5f24
line wrap: on
line diff
--- a/idavoll/memory_storage.py	Sat Oct 16 20:54:52 2010 +0200
+++ b/idavoll/memory_storage.py	Sat Oct 16 20:56:51 2010 +0200
@@ -100,7 +100,7 @@
         self.nodeIdentifier = nodeIdentifier
         self._affiliations = {owner.userhost(): 'owner'}
         self._subscriptions = {}
-        self._config = config
+        self._config = copy.copy(config)
 
 
     def getType(self):