Automatically add link to launchpad bug in commits

This commit is contained in:
Kovid Goyal 2013-05-29 18:36:35 +05:30
parent b1d558a92a
commit c5199c2721

View File

@ -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()