From: duplo Date: Mon, 20 Apr 2009 10:23:12 +0000 (+0000) Subject: Correct a critical bug X-Git-Tag: 2.1.0~113 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=8ac35d276f830ba42b58e9384dab19333d0aef66;p=bertos.git Correct a critical bug git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2569 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BProject.py b/wizard/BProject.py index 95e514c1..154a3d2f 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -9,6 +9,8 @@ # Author: Lorenzo Berni # +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):