aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-08-28 22:49:15 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-08-28 22:49:15 +0000
commit5c8f242e3a5e81a66071138f111138fb1fb27ccd (patch)
treeca023db2124d46a2da28821517825018dfe745ed /web
parentUse SSL for forums and bugzilla. (diff)
downloadpackages-5c8f242e3a5e81a66071138f111138fb1fb27ccd.tar.gz
packages-5c8f242e3a5e81a66071138f111138fb1fb27ccd.tar.bz2
packages-5c8f242e3a5e81a66071138f111138fb1fb27ccd.zip
Allow excess whitespace between "bug" and the bug number.
Diffstat (limited to 'web')
-rw-r--r--web/lib/changelog_formatter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/changelog_formatter.py b/web/lib/changelog_formatter.py
index dc02ce7..be140bd 100644
--- a/web/lib/changelog_formatter.py
+++ b/web/lib/changelog_formatter.py
@@ -45,7 +45,7 @@ def _single_pass_re_loop(reo, callback, instr):
re_email1 = re.compile(r'<([^@ ]+)@gentoo.org>')
re_email2 = re.compile(r'([^@ ]+)@gentoo.org')
re_file = re.compile(r'([\+-]?)(\S+)([:,]|[:,]$)')
-re_bugid = re.compile(r'([Bb][uU][gG] ?#?)(\d+)')
+re_bugid = re.compile(r'([Bb][uU][gG]\s+?#?)(\d+)')
re_url_base = '(https?://[^\s/)>]+(?:/[\S]+)?)'
re_url = re.compile("([\s<(]*)"+re_url_base+"([\s>)]+?.?|$)?")
re_url_notend = re.compile(r'[\s.)>]+$')