From 7804a8c577a04c2a8b848e15e78375f12efb7ee3 Mon Sep 17 00:00:00 2001 From: marco Date: Wed, 16 Aug 2017 11:26:57 +0200 Subject: [PATCH] show user comments in interactive mode --- osc/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osc/core.py b/osc/core.py index 93e70fa1..daed27c7 100644 --- a/osc/core.py +++ b/osc/core.py @@ -7104,6 +7104,7 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None, print('unable to retrieve the buildstatus: %s' % e) print_request(request) + print_comments(apiurl, 'request', request.reqid) try: prompt = '(a)ccept/(d)ecline/(r)evoke/c(l)one/co(m)ment/(s)kip/(c)ancel > ' editable_actions = request.get_actions('submit', 'maintenance_incident') @@ -7146,6 +7147,7 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None, tmpfile.flush() run_editor(tmpfile.name) print_request(request) + print_comments(apiurl, 'request', request.reqid) elif repl == 's': print('skipping: #%s' % request.reqid, file=sys.stderr) break