add rst extension for changelog

fix changelog version
This commit is contained in:
David Lord 2018-01-23 15:34:52 -08:00
parent e21abd9da5
commit 213afec771
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 13 additions and 16 deletions

View file

@ -21,7 +21,7 @@ _date_clean_re = re.compile(r'(\d+)(st|nd|rd|th)')
def parse_changelog():
with open('CHANGES') as f:
with open('CHANGES.rst') as f:
lineiter = iter(f)
for line in lineiter:
match = re.search('^Version\s+(.*)', line.strip())