summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 7ca1663b7c..1882733a5f 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -200,7 +200,6 @@ def exec_func(func, d, dirs = None):
200 200
201def exec_func_python(func, d, runfile, logfile): 201def exec_func_python(func, d, runfile, logfile):
202 """Execute a python BB 'function'""" 202 """Execute a python BB 'function'"""
203 import re, os
204 203
205 bbfile = bb.data.getVar('FILE', d, 1) 204 bbfile = bb.data.getVar('FILE', d, 1)
206 tmp = "def " + func + "(d):\n%s" % data.getVar(func, d) 205 tmp = "def " + func + "(d):\n%s" % data.getVar(func, d)