diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-12-14 21:13:04 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-16 10:23:23 +0000 |
commit | c4e2c59088765d1f1de7ec57cde91980f887c2ff (patch) | |
tree | a2fda8ac5916fb59a711e9220c2177008cca9347 /meta/classes/prexport.bbclass | |
parent | d5e67725ac11e3296cad104470931ffa16824b90 (diff) | |
download | poky-c4e2c59088765d1f1de7ec57cde91980f887c2ff.tar.gz |
meta: 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: 7c552996597faaee2fbee185b250c0ee30ea3b5f)
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 'meta/classes/prexport.bbclass')
-rw-r--r-- | meta/classes/prexport.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/prexport.bbclass b/meta/classes/prexport.bbclass index 809ec1034e..6dcf99e29f 100644 --- a/meta/classes/prexport.bbclass +++ b/meta/classes/prexport.bbclass | |||
@@ -15,7 +15,7 @@ python prexport_handler () { | |||
15 | if isinstance(e, bb.event.RecipeParsed): | 15 | if isinstance(e, bb.event.RecipeParsed): |
16 | import oe.prservice | 16 | import oe.prservice |
17 | #get all PR values for the current PRAUTOINX | 17 | #get all PR values for the current PRAUTOINX |
18 | ver = e.data.getVar('PRSERV_DUMPOPT_VERSION', True) | 18 | ver = e.data.getVar('PRSERV_DUMPOPT_VERSION') |
19 | ver = ver.replace('%','-') | 19 | ver = ver.replace('%','-') |
20 | retval = oe.prservice.prserv_dump_db(e.data) | 20 | retval = oe.prservice.prserv_dump_db(e.data) |
21 | if not retval: | 21 | if not retval: |
@@ -40,7 +40,7 @@ python prexport_handler () { | |||
40 | import oe.prservice | 40 | import oe.prservice |
41 | oe.prservice.prserv_check_avail(e.data) | 41 | oe.prservice.prserv_check_avail(e.data) |
42 | #remove dumpfile | 42 | #remove dumpfile |
43 | bb.utils.remove(e.data.getVar('PRSERV_DUMPFILE', True)) | 43 | bb.utils.remove(e.data.getVar('PRSERV_DUMPFILE')) |
44 | elif isinstance(e, bb.event.ParseCompleted): | 44 | elif isinstance(e, bb.event.ParseCompleted): |
45 | import oe.prservice | 45 | import oe.prservice |
46 | #dump meta info of tables | 46 | #dump meta info of tables |