Skip to content

Commit

Permalink
show user comments in interactive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lethliel committed Aug 25, 2017
1 parent d34e0ac commit 7804a8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osc/core.py
Expand Up @@ -7104,6 +7104,7 @@ def print_source_buildstatus(src_actions, newline=False):
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')
Expand Down Expand Up @@ -7146,6 +7147,7 @@ def print_source_buildstatus(src_actions, newline=False):
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
Expand Down

0 comments on commit 7804a8c

Please sign in to comment.