From 82ca311eb3173c6eab6c4c31388e65fd00044c2f Mon Sep 17 00:00:00 2001 From: lethliel Date: Thu, 23 Jan 2020 13:28:40 +0100 Subject: [PATCH] print release_project on maintenancerequests When creating maintenance requests print out the relese_project if already known at this point. --- osc/commandline.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index a339f918..8cb6af76 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -3283,7 +3283,10 @@ Please submit there instead, or use --nodevelproject to force direct submission. target_project = project.get('name') if opts.incident: target_project += ":" + opts.incident - print('Using target project \'%s\'' % target_project) + release_in = '' + if release_project is not None: + release_in = '. (release in \'%s\')' % release_project + print('Using target project \'%s\'%s' % (target_project, release_in)) if not opts.message: opts.message = edit_message()