diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-03-24 17:05:38 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:33 +0100 |
commit | cf58d41af881e64cef0c3cba2eaabf0ea71cc97b (patch) | |
tree | e41e486f44b37d443c80d456e16c1de418f58395 /bitbake/lib/bb/data.py | |
parent | 0b4ad7062b7586c17eed161060a03b3d2690341d (diff) | |
download | poky-cf58d41af881e64cef0c3cba2eaabf0ea71cc97b.tar.gz |
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.py | 3 |
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 | |||
50 | _dict_type = data_smart.DataSmart | 50 | _dict_type = data_smart.DataSmart |
51 | 51 | ||
52 | def init(): | 52 | def init(): |
53 | """Return a new object representing the Bitbake data""" | ||
53 | return _dict_type() | 54 | return _dict_type() |
54 | 55 | ||
55 | def init_db(parent = None): | 56 | def init_db(parent = None): |
57 | """Return a new object representing the Bitbake data, | ||
58 | optionally based on an existing object""" | ||
56 | if parent: | 59 | if parent: |
57 | return parent.createCopy() | 60 | return parent.createCopy() |
58 | else: | 61 | else: |