1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-24 11:12:14 +01:00

- request_interactive_review: display current action when opening the editor

This commit is contained in:
Marcus Huewe 2010-08-19 11:40:49 +02:00
parent 50f6ba67ea
commit 4580a67e69

View File

@ -5119,7 +5119,9 @@ def request_interactive_review(apiurl, request):
continue continue
state = state_map[mo.group(1)] state = state_map[mo.group(1)]
msg = mo.group(2) msg = mo.group(2)
footer = str(request) footer = 'changing request from state \'%s\' to \'%s\'\n\n' \
% (request.state.name, state)
footer += str(request)
if tmpfile is not None: if tmpfile is not None:
tmpfile.seek(0) tmpfile.seek(0)
# the read bytes probably have a moderate size so the str won't be too large # the read bytes probably have a moderate size so the str won't be too large