1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

- request_interactive_review: offer diff option for a maintenance_incident

This commit is contained in:
Marcus Huewe 2013-04-15 17:52:46 +02:00
parent 9e6e76c712
commit 67d45a5324

View File

@ -6309,7 +6309,7 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None, igno
prompt = '(a)ccept/(d)ecline/(r)evoke/c(l)one/(s)kip/(c)ancel > ' prompt = '(a)ccept/(d)ecline/(r)evoke/c(l)one/(s)kip/(c)ancel > '
sr_actions = request.get_actions('submit') sr_actions = request.get_actions('submit')
# actions which have sources + buildresults # actions which have sources + buildresults
src_actions = sr_actions + request.get_actions('maintenance_release') src_actions = sr_actions + request.get_actions('maintenance_release', 'maintenance_incident')
if sr_actions: if sr_actions:
prompt = 'd(i)ff/(a)ccept/(d)ecline/(r)evoke/(b)uildstatus/c(l)one/(e)dit/(s)kip/(c)ancel > ' prompt = 'd(i)ff/(a)ccept/(d)ecline/(r)evoke/(b)uildstatus/c(l)one/(e)dit/(s)kip/(c)ancel > '
elif src_actions: elif src_actions: