1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-06 21:28:42 +02:00

- do not crash on project wide incident requests view

This commit is contained in:
2012-02-29 12:22:35 +01:00
parent 96042a3194
commit e0d045cdea

View File

@@ -2405,7 +2405,8 @@ class Request:
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 + ")"
if action.tgt_releaseproject:
d['target'] += " (release in " + action.tgt_releaseproject + ")"
srcupdate = ' '
if action.opt_sourceupdate and show_srcupdate:
srcupdate = '(%s)' % action.opt_sourceupdate