[elbe-devel] [PATCH v2 2/5] dump: make elbe_report return the list of target pkgs

Torben Hohn torben.hohn at linutronix.de
Thu Apr 2 12:09:21 CEST 2020


On Sun, Mar 15, 2020 at 05:12:12PM -0400, Olivier Dion wrote:
> This list is then reused later for generating license files.
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de> 

> ---
>  elbepack/dump.py | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/elbepack/dump.py b/elbepack/dump.py
> index cb59d747..0e7f60fc 100644
> --- a/elbepack/dump.py
> +++ b/elbepack/dump.py
> @@ -300,7 +300,7 @@ def elbe_report(xml, buildenv, cache, targetfs):
>          f.close()
>  
>      if not xml.has("archive") or xml.text("archive") is None:
> -        return
> +        return list(tgt_pkg_list)
>  
>      validation.info("")
>      validation.info("Archive validation")
> @@ -323,3 +323,5 @@ def elbe_report(xml, buildenv, cache, targetfs):
>  
>      if errors == 0:
>          validation.info("No Errors found")
> +
> +    return list(tgt_pkg_list)
> -- 
> 2.25.1
> 
> 
> _______________________________________________
> 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