Correct a critical bug
[bertos.git] / wizard / BProject.py
index 95e514c11d1382b9efbf8b170ccaad14cc81a5c8..154a3d2f60d85fd77e08cbb0c5ca80174b116946 100644 (file)
@@ -9,6 +9,8 @@
 # Author: Lorenzo Berni <duplo@develer.com>
 #
 
+import copy
+
 class BProject(object):
     """
     Simple class for store and retrieve project informations.
@@ -28,7 +30,7 @@ class BProject(object):
         Retrieve the value associated with the name key.
         """
         if key in self.infos:
-            return self.infos[key]
+            return copy.deepcopy(self.infos[key])
         return None
     
     def __repr__(self):