1
0
mirror of https://git.yoctoproject.org/poky synced 2026-04-20 11:28:58 +00:00

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>
This commit is contained in:
Bernhard Reutner-Fischer
2010-06-09 18:06:57 +02:00
committed by Richard Purdie
parent 3beecc66e9
commit c63278bf34

View File

@@ -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):