1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

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>
This commit is contained in:
Chris Larson
2010-03-24 17:05:38 -07:00
committed by Richard Purdie
parent 0b4ad7062b
commit cf58d41af8
+3
View File
@@ -50,9 +50,12 @@ import bb
_dict_type = data_smart.DataSmart _dict_type = data_smart.DataSmart
def init(): def init():
"""Return a new object representing the Bitbake data"""
return _dict_type() return _dict_type()
def init_db(parent = None): def init_db(parent = None):
"""Return a new object representing the Bitbake data,
optionally based on an existing object"""
if parent: if parent:
return parent.createCopy() return parent.createCopy()
else: else: