stef-guest at alioth.debian.org
2007-May-17 10:55 UTC
[Secure-testing-commits] r5861 - lib/python
Author: stef-guest
Date: 2007-05-17 10:55:55 +0000 (Thu, 17 May 2007)
New Revision: 5861
Modified:
lib/python/bugs.py
Log:
make tracker accept May as a month name for DTSAs
Modified: lib/python/bugs.py
==================================================================---
lib/python/bugs.py 2007-05-17 10:32:14 UTC (rev 5860)
+++ lib/python/bugs.py 2007-05-17 10:55:55 UTC (rev 5861)
@@ -863,7 +863,7 @@
"""
re_dsa = re.compile\
- (r''^\[([A-Z][a-z]{3,}) (\d\d?)(?:st|nd|rd|th), (\d{4})\]
''
+ (r''^\[([A-Z][a-z]{2,}) (\d\d?)(?:st|nd|rd|th), (\d{4})\]
''
+ r''(DTSA-\d+-\d+)\s+''
+ r''(.*?)\s*$'')
month_names = {''January'': 1,