[elbe-devel] [PATCH v3 36/52] Nuke ASCIIDocLog from gen_update_pkg

dion at linutronix.de dion at linutronix.de
Thu Jun 27 14:44:50 CEST 2019


From: Olivier Dion <dion at linutronix.de>

Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/updatepkg.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/elbepack/updatepkg.py b/elbepack/updatepkg.py
index 8c14aa23..16570355 100644
--- a/elbepack/updatepkg.py
+++ b/elbepack/updatepkg.py
@@ -7,6 +7,7 @@
 from __future__ import print_function
 
 import os
+import logging
 
 from shutil import rmtree, copyfile, copytree
 
@@ -154,9 +155,9 @@ def gen_update_pkg(project, xml_filename, upd_filename,
     create_zip_archive(upd_filename, update, ".")
 
     if project.postbuild_file:
-        project.log.h2("postbuild script")
-        project.log.do(project.postbuild_file + ' "%s %s %s"' % (
+        logging.info("Postbuild script")
+        do(project.postbuild_file + ' "%s %s %s"' % (
             upd_filename,
             project.xml.text("project/version"),
             project.xml.text("project/name")),
-            allow_fail=True)
+           allow_fail=True)
-- 
2.11.0




More information about the elbe-devel mailing list