From 16a27180c57cd37089c5e4078fd36940eb849db3 Mon Sep 17 00:00:00 2001
From: duplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Date: Wed, 1 Apr 2009 16:08:55 +0000
Subject: [PATCH] Use pickle module for store project settings

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2459 38d2e660-2303-0410-9eaa-f027e97ec537
---
 wizard/bertos_utils.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py
index 584edd0d..ef49467b 100644
--- a/wizard/bertos_utils.py
+++ b/wizard/bertos_utils.py
@@ -14,6 +14,7 @@ import fnmatch
 import glob
 import re
 import shutil
+import pickle
 
 import const
 import codelite_project
@@ -31,7 +32,7 @@ def createBertosProject(project_info):
     if not os.path.isdir(directory):
         os.mkdir(directory)
     f = open(directory + "/project.bertos", "w")
-    f.write(repr(project_info))
+    f.write(pickle.dumps(project_info))
     f.close()
     ## Destination source dir
     srcdir = directory + "/bertos"
-- 
2.25.1