summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-03 11:21:22 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-05 10:23:53 -0800
commitb1aeaa8b0dcf27ef8dcd87279901c6f5817d9e94 (patch)
tree62b315fdc05e03677922a0161fdc7a39e2985466 /meta/classes/base.bbclass
parent22f0df2aa737bda1ae3bce862ee5ceba5b2d204b (diff)
downloadpoky-b1aeaa8b0dcf27ef8dcd87279901c6f5817d9e94.tar.gz
meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)
sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 48e4a28d83..82dcda9aec 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -122,7 +122,7 @@ def generate_git_config(e):
122 gitconfig_path = e.data.getVar('GIT_CONFIG', True) 122 gitconfig_path = e.data.getVar('GIT_CONFIG', True)
123 proxy_command = " gitProxy = %s\n" % data.getVar('OE_GIT_PROXY_COMMAND', e.data, True) 123 proxy_command = " gitProxy = %s\n" % data.getVar('OE_GIT_PROXY_COMMAND', e.data, True)
124 124
125 bb.mkdirhier(bb.data.expand("${GIT_CONFIG_PATH}", e.data)) 125 bb.mkdirhier(e.data.expand("${GIT_CONFIG_PATH}"))
126 if (os.path.exists(gitconfig_path)): 126 if (os.path.exists(gitconfig_path)):
127 os.remove(gitconfig_path) 127 os.remove(gitconfig_path)
128 128
@@ -307,7 +307,7 @@ python () {
307 def appendVar(varname, appends): 307 def appendVar(varname, appends):
308 if not appends: 308 if not appends:
309 return 309 return
310 varname = bb.data.expand(varname, d) 310 varname = d.expand(varname)
311 d.appendVar(varname, " " + " ".join(appends)) 311 d.appendVar(varname, " " + " ".join(appends))
312 312
313 extradeps = [] 313 extradeps = []