fix the address of the GIMP bug database so that it is possible to use bug

2003-02-13  Raphael Quinet  <quinet@gamers.org>

        * docs/make-todo: fix the address of the GIMP bug database so that
        it is possible to use bug references like <bugs>#106008</bugs> in
        TODO.xml.  Fixes bug #106008.
This commit is contained in:
Raphael Quinet 2003-02-13 17:15:08 +00:00 committed by Raphaël Quinet
parent 679007b499
commit ed60c6d8fb
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-02-13 Raphael Quinet <quinet@gamers.org>
* docs/make-todo: fix the address of the GIMP bug database so that
it is possible to use bug references like <bugs>#106008</bugs> in
TODO.xml. Fixes bug #106008.
2003-02-13 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/plug_in.pdb: fixed plugins_query() I broke

View File

@ -25,7 +25,7 @@ def bug_subst(s):
return s.group(0)
else:
n = s.group(2)
return '<a href="http://bugs.gnome.org/db/%s/%s.html">#%s</a>' % (n[0:2], n, n)
return '<a href="http://bugzilla.gnome.org/show_bug.cgi?id=%s">#%s</a>' % (n, n)
def bugify(str):
str = re.sub ("(<[^>]*>)|#(\d+)", bug_subst, str)