From e4090f7932536063497f72a6862b0670dd0fa728 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Fri, 4 May 2012 17:18:46 +0200 Subject: [PATCH] - support "osc rq co " also for action type "maintenance_release" --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 2add6629..228b62a9 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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: