Add comment for each method and class
[bertos.git] / wizard / BProject.py
index 08bac0f0cf88255188aafc052b82e7bce2d34439..54db258a6c668bc7007130c40ed56fdd146c1235 100644 (file)
 #
 
 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