summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index cb2e75b145..977b02fc63 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -346,7 +346,7 @@ def create_progress_handler(func, progress, logfile, d):
346 cls_obj = functools.reduce(resolve, cls.split("."), bb.utils._context) 346 cls_obj = functools.reduce(resolve, cls.split("."), bb.utils._context)
347 if not cls_obj: 347 if not cls_obj:
348 # Fall-back on __builtins__ 348 # Fall-back on __builtins__
349 cls_obj = functools.reduce(lambda x, y: x.get(y), cls.split("."), __builtins__) 349 cls_obj = functools.reduce(resolve, cls.split("."), __builtins__)
350 if cls_obj: 350 if cls_obj:
351 return cls_obj(d, outfile=logfile, otherargs=otherargs) 351 return cls_obj(d, outfile=logfile, otherargs=otherargs)
352 bb.warn('%s: unknown custom progress handler in task progress varflag value "%s", ignoring' % (func, cls)) 352 bb.warn('%s: unknown custom progress handler in task progress varflag value "%s", ignoring' % (func, cls))