diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-12-14 21:13:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-16 10:23:23 +0000 |
commit | c0f2890c01882e9ea14e781c044f3a84f75bd0fc (patch) | |
tree | 0962d17b0bf752ba4c009fb624f044b89fd6fd87 /scripts/oe-pkgdata-util | |
parent | c4e2c59088765d1f1de7ec57cde91980f887c2ff (diff) | |
download | poky-c0f2890c01882e9ea14e781c044f3a84f75bd0fc.tar.gz |
scripts: remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.
Search made with the following regex: getVar ?\(( ?[^,()]*), True\)
(From OE-Core rev: 0a36bd96e6b29fd99a296efc358ca3e9fb5af735)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-pkgdata-util')
-rwxr-xr-x | scripts/oe-pkgdata-util | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util index fe41f41fa3..6255662a4b 100755 --- a/scripts/oe-pkgdata-util +++ b/scripts/oe-pkgdata-util | |||
@@ -570,7 +570,7 @@ def main(): | |||
570 | logger.debug('Found bitbake path: %s' % bitbakepath) | 570 | logger.debug('Found bitbake path: %s' % bitbakepath) |
571 | tinfoil = tinfoil_init() | 571 | tinfoil = tinfoil_init() |
572 | try: | 572 | try: |
573 | args.pkgdata_dir = tinfoil.config_data.getVar('PKGDATA_DIR', True) | 573 | args.pkgdata_dir = tinfoil.config_data.getVar('PKGDATA_DIR') |
574 | finally: | 574 | finally: |
575 | tinfoil.shutdown() | 575 | tinfoil.shutdown() |
576 | logger.debug('Value of PKGDATA_DIR is "%s"' % args.pkgdata_dir) | 576 | logger.debug('Value of PKGDATA_DIR is "%s"' % args.pkgdata_dir) |