summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2011-12-09 21:19:37 (GMT)
committerLuke Macken <lmacken@redhat.com>2011-12-09 21:19:37 (GMT)
commit20fd0239f0a1d87055cc0b5fb337484b5676daf6 (patch)
tree2de7a220949d0ececc0ce7c117905d36c55b1549
parent99497027edf8596e04f72f643aa9a460c22ad37b (diff)
downloadfedoracommunity-20fd0239f0a1d87055cc0b5fb337484b5676daf6.zip
fedoracommunity-20fd0239f0a1d87055cc0b5fb337484b5676daf6.tar.gz
fedoracommunity-20fd0239f0a1d87055cc0b5fb337484b5676daf6.tar.xz
Improve our bugzilla regex
-rw-r--r--fedoracommunity/connectors/gitconnector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fedoracommunity/connectors/gitconnector.py b/fedoracommunity/connectors/gitconnector.py
index 6c5a6e7..f0954ec 100644
--- a/fedoracommunity/connectors/gitconnector.py
+++ b/fedoracommunity/connectors/gitconnector.py
@@ -108,7 +108,7 @@ class FedoraGitRepo(object):
# Iterate over all of the commits and link up bug numbers and CVEs.
bug_url = '<a href="https://bugzilla.redhat.com/show_bug.cgi?id=%s" target="_blank">%s</a>'
cve_url = '<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=%s" target="_blank">%s</a>'
- regexs = (r'#(\d+)', r'rhbz (\d+)', r'bz (\d+)')
+ regexs = (r'#(\d+)', r'rhbz (\d+)', r'[bBzZ] (\d+)')
for commit in commits:
for regex in regexs:
for bug in re.findall(regex, commit['msg']):