[elbe-devel] [PATCH v2 26/28] Nuke ASCIIDocLog from gen_update_pkg

Torben Hohn torben.hohn at linutronix.de
Wed Jun 26 16:13:11 CEST 2019


On Fri, Jun 21, 2019 at 07:40:18PM +0200, dion at linutronix.de wrote:
> 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
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list