summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-12-14 21:05:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-16 10:23:24 +0000
commit97f83e911ebb2c9d1af5de55a94c994dced39d82 (patch)
tree30250766cb973694675fd0677945db168e35765f /bitbake/lib/bb/tests
parent1969854ec30188940a185ca19fb7c3df81cf8692 (diff)
downloadpoky-97f83e911ebb2c9d1af5de55a94c994dced39d82.tar.gz
bitbake: bitbake: remove True option to getVar calls (take 2)
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\) (a follow on patch to fix up a few recent introductions) (Bitbake rev: f9961fd5beb31d5ab9656a5be59f7ab3effef2f0) 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 'bitbake/lib/bb/tests')
-rw-r--r--bitbake/lib/bb/tests/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/data.py b/bitbake/lib/bb/tests/data.py
index ba30d12806..0903ba7cc3 100644
--- a/bitbake/lib/bb/tests/data.py
+++ b/bitbake/lib/bb/tests/data.py
@@ -465,7 +465,7 @@ class Serialize(unittest.TestCase):
465 os.remove(tmpfilename) 465 os.remove(tmpfilename)
466 466
467 self.assertEqual(d, newd) 467 self.assertEqual(d, newd)
468 self.assertEqual(newd.getVar('HELLO', True), 'world') 468 self.assertEqual(newd.getVar('HELLO'), 'world')
469 self.assertEqual(newd.getVarFlag('HELLO', 'other'), 'planet') 469 self.assertEqual(newd.getVarFlag('HELLO', 'other'), 'planet')
470 470
471 471