1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-21 01:32:10 +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:
Daniel Mach 2025-02-03 16:35:24 +01:00 committed by GitHub
commit b9b3701be1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5865,7 +5865,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'