diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-25 14:57:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-27 10:30:35 +0000 |
commit | 9f7978ca4d59b92721de508113dbac30721014d9 (patch) | |
tree | c742420397d453629946503aadd891ae5763892c /lib/bb/codeparser.py | |
parent | 5ace320ccc01f4e326f90b7ba060dcbff3380dca (diff) | |
download | bitbake-9f7978ca4d59b92721de508113dbac30721014d9.tar.gz |
Update users of getVar/setVar to use the data store functions directly
(From Poky rev: affd0907253387cee0ba0c7e9f92bcc109895446)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/codeparser.py')
-rw-r--r-- | lib/bb/codeparser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/codeparser.py b/lib/bb/codeparser.py index d42551448..2590e5cae 100644 --- a/lib/bb/codeparser.py +++ b/lib/bb/codeparser.py @@ -36,8 +36,8 @@ pythonparsecache = {} shellparsecache = {} def parser_cachefile(d): - cachedir = (bb.data.getVar("PERSISTENT_DIR", d, True) or - bb.data.getVar("CACHE", d, True)) + cachedir = (d.getVar("PERSISTENT_DIR", True) or + d.getVar("CACHE", True)) if cachedir in [None, '']: return None bb.utils.mkdirhier(cachedir) |