X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBProject.py;h=54db258a6c668bc7007130c40ed56fdd146c1235;hb=ddfbc9df15a5a68f18913995533b9ca9153caaae;hp=e58f5818481bbbd6d91a2fb8d99bd613ce36db6a;hpb=4ed0c79e9a1c6e5b5931d408b6ae26dd3eeeab44;p=bertos.git diff --git a/wizard/BProject.py b/wizard/BProject.py index e58f5818..54db258a 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -10,14 +10,26 @@ # class BProject(object): + """ + Simple class for store and retrieve project informations. + """ 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): + """ + Retrieve the value associated with the name key. + """ if key in self.infos.keys(): return self.infos[key] - return None \ No newline at end of file + return None + + def __repr__(self): + return repr(self.infos) \ No newline at end of file