projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove CVS logs.
[bertos.git]
/
wizard
/
BProject.py
diff --git
a/wizard/BProject.py
b/wizard/BProject.py
index 19d61a1ccbe6167e93d04a33823a6b4cc4526e06..08bac0f0cf88255188aafc052b82e7bce2d34439 100644
(file)
--- a/
wizard/BProject.py
+++ b/
wizard/BProject.py
@@
-12,12
+12,15
@@
class BProject(object):
def __init__(self):
class BProject(object):
def __init__(self):
- pass
+ self.infos = {}
- def set
ProjectPath(self, path
):
- self.
projectPath = path
+ def set
Info(self, key, value
):
+ self.
infos[key] = value
- def setSourcePath(self, path):
- self.sourcePath = path
+ def info(self, key):
+ if key in self.infos.keys():
+ return self.infos[key]
+ return None
-
\ No newline at end of file
+ def __repr__(self):
+ return repr(self.infos)
\ No newline at end of file