fix check of pep 440 iness

This commit is contained in:
Frédéric Péters 2016-03-13 19:58:20 +01:00
parent c6edfa9251
commit 41eda434d9
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ def changelog_from_git(project, version_suffix, path,
if not logs:
continue
version = name.lstrip('v').replace('-', '.')
if is_pep0440_project:
if is_pep0440:
# pep440 limit free-style version number after a +
version = version.replace('.g', '+g')
if i == 0: