Show the scroll area only where there are one or more used plugins.
[bertos.git] / wizard / BProject.py
index 54db258a6c668bc7007130c40ed56fdd146c1235..154a3d2f60d85fd77e08cbb0c5ca80174b116946 100644 (file)
@@ -4,11 +4,13 @@
 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
 # All rights reserved.
 #
-# $Id:$
+# $Id$
 #
 # Author: Lorenzo Berni <duplo@develer.com>
 #
 
+import copy
+
 class BProject(object):
     """
     Simple class for store and retrieve project informations.
@@ -27,8 +29,8 @@ class BProject(object):
         """
         Retrieve the value associated with the name key.
         """
-        if key in self.infos.keys():
-            return self.infos[key]
+        if key in self.infos:
+            return copy.deepcopy(self.infos[key])
         return None
     
     def __repr__(self):