summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/data.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-11 16:39:24 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:33 +0100
commitd5927a70bb8de5f2fbabdcf6405ca6129ffb2c17 (patch)
tree3d6851c9b51fdb0300bda44d5c03b1978ea04f71 /bitbake/lib/bb/data.py
parentba6df176e3086ccd298f91befa8c09fc1834ad76 (diff)
downloadopenembedded-core-d5927a70bb8de5f2fbabdcf6405ca6129ffb2c17.tar.gz
openembedded-core-d5927a70bb8de5f2fbabdcf6405ca6129ffb2c17.tar.bz2
openembedded-core-d5927a70bb8de5f2fbabdcf6405ca6129ffb2c17.zip
Drop unused bb.data.expandData function
(Bitbake rev: 188af3ef5fdb5cd86b74147bf5eafc085ac489be) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r--bitbake/lib/bb/data.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index e11fe9833e..85de6bfeb3 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -157,22 +157,6 @@ def expandKeys(alterdata, readdata = None):
ekey = todolist[key]
renameVar(key, ekey, alterdata)
-def expandData(alterdata, readdata = None):
- """For each variable in alterdata, expand it, and update the var contents.
- Replacements use data from readdata
- """
- if readdata == None:
- readdata = alterdata
-
- for key in keys(alterdata):
- val = getVar(key, alterdata)
- if type(val) is not types.StringType:
- continue
- expanded = expand(val, readdata)
-# print "key is %s, val is %s, expanded is %s" % (key, val, expanded)
- if val != expanded:
- setVar(key, expanded, alterdata)
-
def inheritFromOS(d):
"""Inherit variables from the environment."""
for s in os.environ.keys():