]> code.ossystems Code Review - openembedded-core.git/commitdiff
Add some missing docstrings
authorChris Larson <chris_larson@mentor.com>
Thu, 25 Mar 2010 00:05:38 +0000 (17:05 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:33 +0000 (15:41 +0100)
(Bitbake rev: 20b6f2d1d2d4541e612e8cffbdf1ca4822a3e394)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/data.py

index 554532841aaae0bbdf373266c10ce92bf51ed210..e11fe9833ed65394c328f42c6f999c4347f3340d 100644 (file)
@@ -50,9 +50,12 @@ import bb
 _dict_type = data_smart.DataSmart
 
 def init():
+    """Return a new object representing the Bitbake data"""
     return _dict_type()
 
 def init_db(parent = None):
+    """Return a new object representing the Bitbake data,
+    optionally based on an existing object"""
     if parent:
         return parent.createCopy()
     else: