Skip to content

Commit e0d045c

Browse files
- do not crash on project wide incident requests view
1 parent 96042a3 commit e0d045c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

osc/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2405,7 +2405,8 @@ def prj_pkg_join(prj, pkg):
24052405
if action.src_package:
24062406
d['source'] = '%s ->' % prj_pkg_join(action.src_project, action.src_package)
24072407
d['target'] = action.tgt_project
2408-
d['target'] += " (release in " + action.tgt_releaseproject + ")"
2408+
if action.tgt_releaseproject:
2409+
d['target'] += " (release in " + action.tgt_releaseproject + ")"
24092410
srcupdate = ' '
24102411
if action.opt_sourceupdate and show_srcupdate:
24112412
srcupdate = '(%s)' % action.opt_sourceupdate

0 commit comments

Comments
 (0)