# 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