summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-08 16:01:14 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:31 +0100
commit0d25a516b4f6f2feb4ca99d46d1958ccd9734c9b (patch)
tree0fd097c169afd6f495af660503ba9ddb964f0efc /bitbake/lib/bb
parentc9c230b14a8202c31648c044e75e47022004014f (diff)
downloadopenembedded-core-0d25a516b4f6f2feb4ca99d46d1958ccd9734c9b.tar.gz
openembedded-core-0d25a516b4f6f2feb4ca99d46d1958ccd9734c9b.tar.bz2
openembedded-core-0d25a516b4f6f2feb4ca99d46d1958ccd9734c9b.zip
Rename the finalise method for consistency
Apparently the finalise spelling is becoming less common in British English. (Bitbake rev: 47449b2fc433e5725839ca4f7e9bca931a475838) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/parse/ast.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index d767882e53..affe4bed4d 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -293,7 +293,7 @@ def handleInherit(statements, m):
n = __word__.findall(files)
statements.append(InheritNode(m.group(1)))
-def finalise(fn, d):
+def finalize(fn, d):
for lazykey in bb.data.getVar("__lazy_assigned", d) or ():
if bb.data.getVar(lazykey, d) is None:
val = bb.data.getVarFlag(lazykey, "defaultval", d)
@@ -358,7 +358,7 @@ def multi_finalize(fn, d):
d = bb.data.createCopy(safe_d)
try:
- finalise(fn, d)
+ finalize(fn, d)
except bb.parse.SkipPackage:
bb.data.setVar("__SKIPPED", True, d)
datastores = {"": safe_d}
@@ -401,7 +401,7 @@ def multi_finalize(fn, d):
d = bb.data.createCopy(safe_d)
verfunc(pv, d, safe_d)
try:
- finalise(fn, d)
+ finalize(fn, d)
except bb.parse.SkipPackage:
bb.data.setVar("__SKIPPED", True, d)
@@ -420,7 +420,7 @@ def multi_finalize(fn, d):
for variant, variant_d in datastores.items():
if variant:
try:
- finalise(fn, variant_d)
+ finalize(fn, variant_d)
except bb.parse.SkipPackage:
bb.data.setVar("__SKIPPED", True, variant_d)