mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-22 10:12:12 +01:00
Merge pull request #1699 from dmach/rq-list-i-forward-prompt
Fix 'request list --interactive' command that wasn't showing request forward prompt when message was part of the state change
This commit is contained in:
commit
b9b3701be1
@ -5865,7 +5865,7 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None,
|
|||||||
repl = raw_input(prompt).strip()
|
repl = raw_input(prompt).strip()
|
||||||
|
|
||||||
# remember if we're accepting so we can decide whether to forward request to the parent project later on
|
# remember if we're accepting so we can decide whether to forward request to the parent project later on
|
||||||
accept = repl == "a"
|
accept = repl == "a" or repl.startswith("a ")
|
||||||
|
|
||||||
if repl == 'i' and src_actions:
|
if repl == 'i' and src_actions:
|
||||||
req_summary = str(request) + '\n'
|
req_summary = str(request) + '\n'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user