summaryrefslogtreecommitdiff
path: root/bitbake/lib
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-17 14:46:41 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:53 +0000
commit4a6d4d258c0a7210462be8cd025475cfe9bf8d84 (patch)
tree3a6b3605d975527074a2ab30b5ae49649d49f26e /bitbake/lib
parente890b86ebd5cbd4934256155e7dace4448813507 (diff)
downloadopenembedded-core-4a6d4d258c0a7210462be8cd025475cfe9bf8d84.tar.gz
openembedded-core-4a6d4d258c0a7210462be8cd025475cfe9bf8d84.tar.bz2
openembedded-core-4a6d4d258c0a7210462be8cd025475cfe9bf8d84.tar.xz
openembedded-core-4a6d4d258c0a7210462be8cd025475cfe9bf8d84.zip
logger usage cleanup
(Bitbake rev: 976e4f84a8147ad762442df7ff4820611a21d227) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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 ee7cfe7d6..dd568ffab 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -914,7 +914,7 @@ class RunQueue:
# 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]
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index cedbe4230..2e9c6f3f2 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -174,7 +174,7 @@ def main(server, eventHandler):
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