mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-11 16:36:14 +01:00
- support "osc rq co <id>" also for action type "maintenance_release"
This commit is contained in:
parent
60ed892beb
commit
e4090f7932
@ -2102,7 +2102,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
# checkout
|
||||
elif cmd == 'checkout' or cmd == 'co':
|
||||
r = get_request(apiurl, reqid)
|
||||
sr_actions = r.get_actions('submit')
|
||||
sr_actions = r.get_actions('submit', 'maintenance_release')
|
||||
if not sr_actions:
|
||||
raise oscerr.WrongArgs('\'checkout\' not possible (request has no \'submit\' actions)')
|
||||
for action in sr_actions:
|
||||
|
Loading…
Reference in New Issue
Block a user