1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 18:22:24 -05:00

Make proper semver in {accept,deferrals}.py

This commit is contained in:
Jonas Wielicki 2018-01-25 08:56:23 +01:00
parent 4a46ead7df
commit 8b2223b18e
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ def accept_xep(number, last_version,
else:
version[1] = str(int(version[1]) + 1)
del version[2:]
version.append("0")
xep_text = (
xep_text[:revision_match.start()] +

View File

@ -49,6 +49,7 @@ def defer_xep(number, last_version, initials):
else:
version[1] = str(int(version[1]) + 1)
del version[2:]
version.append("0"")
xep_text = (
xep_text[:revision_match.start()] +