From f9b2da9ad3d25646eaee3089bd7e31150c365c51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Wed, 2 Oct 2019 14:33:27 +0200 Subject: [PATCH] osbuild: print tree id and output id also in non-json mode --- osbuild/__main__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osbuild/__main__.py b/osbuild/__main__.py index 53c89c1d..e28258af 100755 --- a/osbuild/__main__.py +++ b/osbuild/__main__.py @@ -56,6 +56,9 @@ def main(): "output_id": pipeline.output_id, }, sys.stdout) sys.stdout.write("\n") + else: + print("tree id:", pipeline.tree_id) + print("output id:", pipeline.output_id) return 0