summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-09 18:06:57 +0200
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:36 +0100
commitc63278bf34072c8236d58d7db3b145bf43f556b5 (patch)
treeca40262a01e69eee5e6684e420659dc27ff97184 /bitbake/lib/bb
parent3beecc66e9aeabc515ecf683089b2de6765d784e (diff)
downloadopenembedded-core-c63278bf34072c8236d58d7db3b145bf43f556b5.tar.gz
openembedded-core-c63278bf34072c8236d58d7db3b145bf43f556b5.tar.bz2
openembedded-core-c63278bf34072c8236d58d7db3b145bf43f556b5.tar.xz
openembedded-core-c63278bf34072c8236d58d7db3b145bf43f556b5.zip
parser: fix harmless typo in variable name
s/absolsute/absolute/ (Bitbake rev: 837c84ce47c298316b941a5f3d2479bd2643686b) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index 52fd8285e..9708416a0 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -80,13 +80,13 @@ def inherit(files, d):
include(fn, file, d, "inherit")
__inherit_cache = data.getVar('__inherit_cache', d) or []
-def get_statements(filename, absolsute_filename, base_name):
+def get_statements(filename, absolute_filename, base_name):
global cached_statements
try:
- return cached_statements[absolsute_filename]
+ return cached_statements[absolute_filename]
except KeyError:
- file = open(absolsute_filename, 'r')
+ file = open(absolute_filename, 'r')
statements = ast.StatementGroup()
lineno = 0
@@ -101,7 +101,7 @@ def get_statements(filename, absolsute_filename, base_name):
feeder(IN_PYTHON_EOF, "", filename, base_name, statements)
if filename.endswith(".bbclass") or filename.endswith(".inc"):
- cached_statements[absolsute_filename] = statements
+ cached_statements[absolute_filename] = statements
return statements
def handle(fn, d, include):