summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/parse_py
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/parse/parse_py
parent3beecc66e9aeabc515ecf683089b2de6765d784e (diff)
downloadpoky-c63278bf34072c8236d58d7db3b145bf43f556b5.tar.gz
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/parse/parse_py')
-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 52fd8285ed..9708416a0a 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):
80 include(fn, file, d, "inherit") 80 include(fn, file, d, "inherit")
81 __inherit_cache = data.getVar('__inherit_cache', d) or [] 81 __inherit_cache = data.getVar('__inherit_cache', d) or []
82 82
83def get_statements(filename, absolsute_filename, base_name): 83def get_statements(filename, absolute_filename, base_name):
84 global cached_statements 84 global cached_statements
85 85
86 try: 86 try:
87 return cached_statements[absolsute_filename] 87 return cached_statements[absolute_filename]
88 except KeyError: 88 except KeyError:
89 file = open(absolsute_filename, 'r') 89 file = open(absolute_filename, 'r')
90 statements = ast.StatementGroup() 90 statements = ast.StatementGroup()
91 91
92 lineno = 0 92 lineno = 0
@@ -101,7 +101,7 @@ def get_statements(filename, absolsute_filename, base_name):
101 feeder(IN_PYTHON_EOF, "", filename, base_name, statements) 101 feeder(IN_PYTHON_EOF, "", filename, base_name, statements)
102 102
103 if filename.endswith(".bbclass") or filename.endswith(".inc"): 103 if filename.endswith(".bbclass") or filename.endswith(".inc"):
104 cached_statements[absolsute_filename] = statements 104 cached_statements[absolute_filename] = statements
105 return statements 105 return statements
106 106
107def handle(fn, d, include): 107def handle(fn, d, include):