diff --git a/setup/git_pre_commit_hook.py b/setup/git_pre_commit_hook.py index cd06faf6c4..8be2640f35 100755 --- a/setup/git_pre_commit_hook.py +++ b/setup/git_pre_commit_hook.py @@ -47,6 +47,7 @@ class Bug: print ('Working on bug:', summary) if int(bug) > 100000: self.close_bug(bug, action) + return match.group() + ' [%s](%s)' % (summary, LAUNCHPAD_BUG % bug) return match.group() + ' (%s)' % summary return match.group()