[elbe-devel] [PATCH 12/32] Add logging to stdout for command genlicense

dion at linutronix.de dion at linutronix.de
Fri Jun 14 22:13:26 CEST 2019


From: Olivier Dion <dion at linutronix.de>

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/commands/genlicence.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/commands/genlicence.py b/elbepack/commands/genlicence.py
index 40f9805b..1cdbf292 100644
--- a/elbepack/commands/genlicence.py
+++ b/elbepack/commands/genlicence.py
@@ -11,8 +11,8 @@ import sys
 import os
 import io
 
-from elbepack.asciidoclog import StdoutLog
 from elbepack.efilesystem import ElbeFilesystem
+from elbepack.log import log
 
 
 def run_command(argv):
@@ -32,7 +32,7 @@ def run_command(argv):
     chroot = os.path.abspath(args[0])
 
     rfs = ElbeFilesystem(chroot)
-    log = StdoutLog()
+    log.stdout()
 
     if opt.output:
         f = io.open(opt.output, "w+", encoding='utf-8')
-- 
2.11.0




More information about the elbe-devel mailing list