diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-17 14:46:41 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:53 +0000 |
commit | 4a6d4d258c0a7210462be8cd025475cfe9bf8d84 (patch) | |
tree | 3a6b3605d975527074a2ab30b5ae49649d49f26e | |
parent | e890b86ebd5cbd4934256155e7dace4448813507 (diff) | |
download | poky-4a6d4d258c0a7210462be8cd025475cfe9bf8d84.tar.gz |
logger usage cleanup
(Bitbake rev: 976e4f84a8147ad762442df7ff4820611a21d227)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 2 |
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 |