summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/data.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-03-24 17:05:38 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:33 +0100
commitcf58d41af881e64cef0c3cba2eaabf0ea71cc97b (patch)
treee41e486f44b37d443c80d456e16c1de418f58395 /bitbake/lib/bb/data.py
parent0b4ad7062b7586c17eed161060a03b3d2690341d (diff)
downloadopenembedded-core-cf58d41af881e64cef0c3cba2eaabf0ea71cc97b.tar.gz
openembedded-core-cf58d41af881e64cef0c3cba2eaabf0ea71cc97b.tar.bz2
openembedded-core-cf58d41af881e64cef0c3cba2eaabf0ea71cc97b.zip
Add some missing docstrings
(Bitbake rev: 20b6f2d1d2d4541e612e8cffbdf1ca4822a3e394) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r--bitbake/lib/bb/data.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index 554532841a..e11fe9833e 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -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: