summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-05-19 20:41:58 +0000
committerRichard Purdie <richard@openedhand.com>2008-05-19 20:41:58 +0000
commitf1e89b2bb9f7d2677cd589f808df9594987fb1e0 (patch)
treeab835e90e7557d66aebd07d3a2d6d967843175e3 /bitbake/lib/bb/parse
parent4bf7ed5458d05f3d124eb00c2bfcd3c61877bdd1 (diff)
downloadpoky-f1e89b2bb9f7d2677cd589f808df9594987fb1e0.tar.gz
bitbake: Sync with upstream
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4504 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index d7bf6d4f37..764def8ec0 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -93,7 +93,7 @@ def handle(fn, d, include = 0):
93 init(d) 93 init(d)
94 94
95 if ext == ".bbclass": 95 if ext == ".bbclass":
96 __classname__ = root 96 __classname__ = root.replace('-','_')
97 classes.append(__classname__) 97 classes.append(__classname__)
98 __inherit_cache = data.getVar('__inherit_cache', d) or [] 98 __inherit_cache = data.getVar('__inherit_cache', d) or []
99 if not fn in __inherit_cache: 99 if not fn in __inherit_cache:
@@ -247,7 +247,7 @@ def feeder(lineno, s, fn, root, d):
247 247
248 m = __func_start_regexp__.match(s) 248 m = __func_start_regexp__.match(s)
249 if m: 249 if m:
250 __infunc__ = m.group("func") or "__anonymous" 250 __infunc__ = (m.group("func") or "__anonymous").replace('-','_')
251 key = __infunc__ 251 key = __infunc__
252 if data.getVar(key, d): 252 if data.getVar(key, d):
253# clean up old version of this piece of metadata, as its 253# clean up old version of this piece of metadata, as its