From a82ce3cca6dac9e07d45c9a6ccb1291512cd01f4 Mon Sep 17 00:00:00 2001 From: Ludovic Chabant Date: Thu, 24 Oct 2019 16:03:01 +0000 Subject: [PATCH] Print build submitter messages to the client --- gitsrht/submit.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gitsrht/submit.py b/gitsrht/submit.py index eda5046..8460c1e 100644 --- a/gitsrht/submit.py +++ b/gitsrht/submit.py @@ -152,7 +152,9 @@ def do_post_update(context, refs): # TODO: move this to internal API r = Repository.query.get(repo["id"]) s = GitBuildSubmitter(r, git_repo) - s.submit(commit) + res = s.submit(commit) + if res.status != 'skipped': + res.printmsgs() # TODO: get these from internal API # sync webhooks -- 2.38.4