logger usage cleanup
(Bitbake rev: 976e4f84a8147ad762442df7ff4820611a21d227) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
e890b86ebd
commit
4a6d4d258c
|
@ -914,7 +914,7 @@ class RunQueue:
|
||||||
|
|
||||||
# If the stamp is missing its not current
|
# If the stamp is missing its not current
|
||||||
if not os.access(stampfile, os.F_OK):
|
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
|
return False
|
||||||
# If its a 'nostamp' task, it's not current
|
# If its a 'nostamp' task, it's not current
|
||||||
taskdep = self.rqdata.dataCache.task_deps[fn]
|
taskdep = self.rqdata.dataCache.task_deps[fn]
|
||||||
|
|
|
@ -174,7 +174,7 @@ def main(server, eventHandler):
|
||||||
break
|
break
|
||||||
if isinstance(event, bb.command.CommandFailed):
|
if isinstance(event, bb.command.CommandFailed):
|
||||||
return_value = event.exitcode
|
return_value = event.exitcode
|
||||||
logger.error("Command execution failed: %s" % event.error)
|
logger.error("Command execution failed: %s", event.error)
|
||||||
break
|
break
|
||||||
if isinstance(event, bb.command.CommandExit):
|
if isinstance(event, bb.command.CommandExit):
|
||||||
return_value = event.exitcode
|
return_value = event.exitcode
|
||||||
|
|
Loading…
Reference in New Issue