tiramisu/setting.py : properties store in cache was a reference to a list modified...
[tiramisu.git] / tiramisu / setting.py
index 38cf7b5..e2ddb7d 100644 (file)
@@ -392,7 +392,7 @@ class Settings(object):
                     if  ntime is None:
                         ntime = int(time())
                     ntime = ntime + expires_time
-                self._p_.setcache(path, props, ntime)
+                self._p_.setcache(path, copy(props), ntime)
         return props
 
     def append(self, propname):