1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

- show maintenance_incident request informations complete

This commit is contained in:
Adrian Schröter 2012-02-20 11:21:30 +01:00
parent 9960072d5c
commit fbb032ea95

View File

@ -2402,7 +2402,10 @@ class Request:
d['target'] = 'developed in %s' % prj_pkg_join(action.src_project, action.src_package)
elif action.type == 'maintenance_incident':
d['source'] = '%s ->' % action.src_project
if action.src_package:
d['source'] = '%s ->' % prj_pkg_join(action.src_project, action.src_package)
d['target'] = action.tgt_project
d['target'] += " (release in " + action.tgt_releaseproject + ")"
srcupdate = ' '
if action.opt_sourceupdate and show_srcupdate:
srcupdate = '(%s)' % action.opt_sourceupdate