summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/parse_py/BBHandler.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-12-17 21:39:08 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-12-18 11:41:44 +0000
commitdbd66fc8080eacd6c20df9d6528a929b9070fe35 (patch)
tree56d3fc5b3a13e378bdd2b3bb77fe965afe7c8968 /bitbake/lib/bb/parse/parse_py/BBHandler.py
parent29ae46a86601313206896992afb77b35c31785da (diff)
downloadpoky-dbd66fc8080eacd6c20df9d6528a929b9070fe35.tar.gz
bitbake/BBHandler: Only add do_ prefix to tasks if its not already present
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index 76b917ca5d..915db214f5 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -329,7 +329,8 @@ def feeder(lineno, s, fn, root, d):
329 after = m.group("after") 329 after = m.group("after")
330 if func is None: 330 if func is None:
331 return 331 return
332 var = "do_" + func 332 if func[:3] != "do_":
333 var = "do_" + func
333 334
334 data.setVarFlag(var, "task", 1, d) 335 data.setVarFlag(var, "task", 1, d)
335 336