Another fix for the script

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
This commit is contained in:
Armin Ronacher 2011-06-29 18:37:08 +02:00
parent 21d4a054e3
commit 7e1ebae3a2

View file

@ -33,8 +33,8 @@ def parse_changelog():
if change_info:
break
match = re.match(r'released on (\w+\s+\d+\w+\s+\d+)'
r'(?:, codename (.*))?(?i)', change_info)
match = re.search(r'released on (\w+\s+\d+\w+\s+\d+)'
r'(?:, codename (.*))?(?i)', change_info)
if match is None:
continue