aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/__init__.py
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2017-09-24 06:04:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-25 14:18:38 +0100
commitb848c3cb495905605283c57c79f2ed8ca17758db (patch)
treecf25c36b8df02667a2a0332fafa3e035f24257ae /scripts/lib/checklayer/__init__.py
parentdbc0eaf478feb3f752ae22fd184984494fc85d0a (diff)
downloadopenembedded-core-contrib-b848c3cb495905605283c57c79f2ed8ca17758db.tar.gz
scripts: drop True option to getVar calls
Search made with the following regex: getVar ?\((.*), True\). Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/__init__.py')
-rw-r--r--scripts/lib/checklayer/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py
index 6c2b86a79a..63952616ba 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -46,16 +46,16 @@ def _get_layer_collections(layer_path, lconf=None, data=None):
raise LayerError(exc)
ldata.expandVarref('LAYERDIR')
- collections = (ldata.getVar('BBFILE_COLLECTIONS', True) or '').split()
+ collections = (ldata.getVar('BBFILE_COLLECTIONS') or '').split()
if not collections:
name = os.path.basename(layer_path)
collections = [name]
collections = {c: {} for c in collections}
for name in collections:
- priority = ldata.getVar('BBFILE_PRIORITY_%s' % name, True)
- pattern = ldata.getVar('BBFILE_PATTERN_%s' % name, True)
- depends = ldata.getVar('LAYERDEPENDS_%s' % name, True)
+ priority = ldata.getVar('BBFILE_PRIORITY_%s' % name)
+ pattern = ldata.getVar('BBFILE_PATTERN_%s' % name)
+ depends = ldata.getVar('LAYERDEPENDS_%s' % name)
collections[name]['priority'] = priority
collections[name]['pattern'] = pattern
collections[name]['depends'] = depends