mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-03 05:41:30 +00:00
Fix link to source package bug page
pkg=src:foo and src=foo give different results. Fixes https://bugs.debian.org/829240 Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
parent
855fe68009
commit
8545dc972a
@ -1529,7 +1529,7 @@ class Britney(object):
|
|||||||
|
|
||||||
if new_bugs:
|
if new_bugs:
|
||||||
excuse.addhtml("%s <a href=\"http://bugs.debian.org/cgi-bin/pkgreport.cgi?" \
|
excuse.addhtml("%s <a href=\"http://bugs.debian.org/cgi-bin/pkgreport.cgi?" \
|
||||||
"pkg=src:%s&sev-inc=critical&sev-inc=grave&sev-inc=serious\" " \
|
"src=%s&sev-inc=critical&sev-inc=grave&sev-inc=serious\" " \
|
||||||
"target=\"_blank\">has new bugs</a>!" % (src, quote(src)))
|
"target=\"_blank\">has new bugs</a>!" % (src, quote(src)))
|
||||||
excuse.addhtml("Updating %s introduces new bugs: %s" % (src, ", ".join(
|
excuse.addhtml("Updating %s introduces new bugs: %s" % (src, ", ".join(
|
||||||
["<a href=\"http://bugs.debian.org/%s\">#%s</a>" % (quote(a), a) for a in new_bugs])))
|
["<a href=\"http://bugs.debian.org/%s\">#%s</a>" % (quote(a), a) for a in new_bugs])))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user