mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
show user comments in interactive mode
This commit is contained in:
parent
d34e0ace77
commit
7804a8c577
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user