Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [PATCH] knotty: ensure that directory for BB_CONSOLELOG exists before using it
@ 2012-07-30 11:11 Martin Jansa
  2012-08-02 16:05 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2012-07-30 11:11 UTC (permalink / raw)
  To: bitbake-devel

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 lib/bb/ui/knotty.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index 0167416..9f51823 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -119,6 +119,7 @@ def main(server, eventHandler, tf = TerminalFilter):
     console.setFormatter(format)
     logger.addHandler(console)
     if consolelogfile:
+        bb.utils.mkdirhier(os.path.dirname(consolelogfile))
         consolelog = logging.FileHandler(consolelogfile)
         bb.msg.addDefaultlogFilter(consolelog)
         consolelog.setFormatter(format)
-- 
1.7.8.6




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] knotty: ensure that directory for BB_CONSOLELOG exists before using it
  2012-07-30 11:11 [PATCH] knotty: ensure that directory for BB_CONSOLELOG exists before using it Martin Jansa
@ 2012-08-02 16:05 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-08-02 16:05 UTC (permalink / raw)
  To: Martin Jansa; +Cc: bitbake-devel

On Mon, 2012-07-30 at 13:11 +0200, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  lib/bb/ui/knotty.py |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-02 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-30 11:11 [PATCH] knotty: ensure that directory for BB_CONSOLELOG exists before using it Martin Jansa
2012-08-02 16:05 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox