Another fix for the script

This commit is contained in:
Armin Ronacher 2011-06-29 18:37:08 +02:00
parent c0a9ec43a1
commit 1033a9757d

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