summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/data.py
diff options
context:
space:
mode:
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 554532841..e11fe9833 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: