add rst extension for changelog

fix changelog version
This commit is contained in:
David Lord 2018-01-23 15:34:52 -08:00
parent d08a0fab8e
commit 552b055ffd
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())