summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-12-01 20:50:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-03 12:24:00 +0000
commitb92ec90ea40639d79c491f5a0b5a0f3e4dfa6708 (patch)
treebc3ed011b9dd54cfe79fa68e0fd90b1472abac45 /bitbake/lib/bb/parse
parent13322986a6e07a3523405e5c41cedce4022db032 (diff)
downloadpoky-b92ec90ea40639d79c491f5a0b5a0f3e4dfa6708.tar.gz
bitbake: data: rename defaultval to _defaultval
The defaultval field is intended to be internal and the only use of that field outside of data.py is to skip over it when iterating over a value's flags. For clarity and convenience, rename the field to _defaultval so that it is considered internal and not exposed through the data API. (Bitbake rev: 2800958dadaa5c055ba21d52c98d842d360f0785) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r--bitbake/lib/bb/parse/ast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index 4e5a06e761..af42a0c0d6 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -128,7 +128,7 @@ class DataNode(AstNode):
128 if 'flag' in groupd and groupd['flag'] != None: 128 if 'flag' in groupd and groupd['flag'] != None:
129 flag = groupd['flag'] 129 flag = groupd['flag']
130 elif groupd["lazyques"]: 130 elif groupd["lazyques"]:
131 flag = "defaultval" 131 flag = "_defaultval"
132 132
133 loginfo['op'] = op 133 loginfo['op'] = op
134 loginfo['detail'] = groupd["value"] 134 loginfo['detail'] = groupd["value"]