mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-21 17:52:14 +01:00
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:
parent
1c45d56e9f
commit
3166faf8f5
@ -5860,7 +5860,7 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None,
|
||||
repl = raw_input(prompt).strip()
|
||||
|
||||
# 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:
|
||||
req_summary = str(request) + '\n'
|
||||
|
Loading…
x
Reference in New Issue
Block a user