projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix error on building the binary resource file of the wizard
[bertos.git]
/
wizard
/
BProject.py
diff --git
a/wizard/BProject.py
b/wizard/BProject.py
index 9c4a11a9bf7c4f6bb10ea7165cb65b01fd66b01b..54db258a6c668bc7007130c40ed56fdd146c1235 100644
(file)
--- a/
wizard/BProject.py
+++ b/
wizard/BProject.py
@@
-10,17
+10,26
@@
#
class BProject(object):
#
class BProject(object):
+ """
+ Simple class for store and retrieve project informations.
+ """
def __init__(self):
self.infos = {}
def setInfo(self, key, value):
def __init__(self):
self.infos = {}
def setInfo(self, key, value):
+ """
+ Store the given value with the name key.
+ """
self.infos[key] = value
def info(self, key):
self.infos[key] = value
def info(self, key):
+ """
+ Retrieve the value associated with the name key.
+ """
if key in self.infos.keys():
return self.infos[key]
return None
def __repr__(self):
if key in self.infos.keys():
return self.infos[key]
return None
def __repr__(self):
- return repr(self.infos
()
)
\ No newline at end of file
+ return repr(self.infos)
\ No newline at end of file