summaryrefslogtreecommitdiffstats
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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index 8c9cb0f025..e6d523210c 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -59,7 +59,7 @@ def init():
59def init_db(parent = None): 59def init_db(parent = None):
60 """Return a new object representing the Bitbake data, 60 """Return a new object representing the Bitbake data,
61 optionally based on an existing object""" 61 optionally based on an existing object"""
62 if parent: 62 if parent is not None:
63 return parent.createCopy() 63 return parent.createCopy()
64 else: 64 else:
65 return _dict_type() 65 return _dict_type()