# 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.
"""
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):