summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/runqueue.py2
-rw-r--r--bitbake/lib/bb/ui/knotty.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index ee7cfe7d61..dd568ffab2 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -914,7 +914,7 @@ class RunQueue:
914 914
915 # If the stamp is missing its not current 915 # If the stamp is missing its not current
916 if not os.access(stampfile, os.F_OK): 916 if not os.access(stampfile, os.F_OK):
917 logger.debug(2, "Stampfile %s not available\n" % stampfile) 917 logger.debug(2, "Stampfile %s not available", stampfile)
918 return False 918 return False
919 # If its a 'nostamp' task, it's not current 919 # If its a 'nostamp' task, it's not current
920 taskdep = self.rqdata.dataCache.task_deps[fn] 920 taskdep = self.rqdata.dataCache.task_deps[fn]
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index cedbe42306..2e9c6f3f22 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -174,7 +174,7 @@ def main(server, eventHandler):
174 break 174 break
175 if isinstance(event, bb.command.CommandFailed): 175 if isinstance(event, bb.command.CommandFailed):
176 return_value = event.exitcode 176 return_value = event.exitcode
177 logger.error("Command execution failed: %s" % event.error) 177 logger.error("Command execution failed: %s", event.error)
178 break 178 break
179 if isinstance(event, bb.command.CommandExit): 179 if isinstance(event, bb.command.CommandExit):
180 return_value = event.exitcode 180 return_value = event.exitcode