From 8ac35d276f830ba42b58e9384dab19333d0aef66 Mon Sep 17 00:00:00 2001 From: duplo Date: Mon, 20 Apr 2009 10:23:12 +0000 Subject: [PATCH] Correct a critical bug git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2569 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BProject.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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): -- 2.25.1