knotty: ensure that directory for BB_CONSOLELOG exists before using it
PATCH 1/1 knotty: ensure that directory for BB_CONSOLELOG exists before using it
Signed-off-by Martin Jansa <[email protected]>
--- lib/bb/ui/knotty.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
lib/bb/ui/knotty.py +1 -0
@@ -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)
Signature · 1 line
1.7.8.6
Richard Purdie
AppliedQuoted 4 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- lib/bb/ui/knotty.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Merged to master, thanks.
Richard