body = data.getVar(func, d)
if not body:
- logger.warn("Function %s doesn't exist" % func)
+ logger.warn("Function %s doesn't exist", func)
return
flags = data.getVarFlags(func, d)
stampfile = "%s.%s" % (self.rqdata.dataCache.stamp[fn], taskname)
# If the stamp is missing its not current
if not os.access(stampfile, os.F_OK):
- logger.debug(2, "Stampfile %s not available\n", stampfile)
+ logger.debug(2, "Stampfile %s not available", stampfile)
return False
# If its a 'nostamp' task, it's not current
taskdep = self.rqdata.dataCache.task_deps[fn]
break
if isinstance(event, bb.command.CommandFailed):
return_value = event.exitcode
- logger.error("Command execution failed: %s" % event.error)
+ logger.error("Command execution failed: %s", event.error)
break
if isinstance(event, bb.command.CommandExit):
return_value = event.exitcode