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

Olivier Dion dion at linutronix.de
Sun Mar 15 22:12:12 CET 2020


This list is then reused later for generating license files.

Signed-off-by: Olivier Dion <dion 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




More information about the elbe-devel mailing list