From 2800958dadaa5c055ba21d52c98d842d360f0785 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 1 Dec 2014 20:50:14 +0000 Subject: 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. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- lib/bb/parse/ast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bb/parse/ast.py') diff --git a/lib/bb/parse/ast.py b/lib/bb/parse/ast.py index 4e5a06e76..af42a0c0d 100644 --- a/lib/bb/parse/ast.py +++ b/lib/bb/parse/ast.py @@ -128,7 +128,7 @@ class DataNode(AstNode): if 'flag' in groupd and groupd['flag'] != None: flag = groupd['flag'] elif groupd["lazyques"]: - flag = "defaultval" + flag = "_defaultval" loginfo['op'] = op loginfo['detail'] = groupd["value"] -- cgit 1.2.3-korg