fix versions sorting
This commit is contained in:
parent
71612ad9b8
commit
926e75c075
|
@ -134,7 +134,7 @@ def read_verfile(file: Path) -> VersData:
|
||||||
def write_verfile(file: Path, versions: VersData) -> None:
|
def write_verfile(file: Path, versions: VersData) -> None:
|
||||||
# sort and indent to make it friendly to human and git
|
# sort and indent to make it friendly to human and git
|
||||||
data = json.dumps(
|
data = json.dumps(
|
||||||
dict(sorted(versions)),
|
dict(sorted(versions.items())),
|
||||||
indent=2,
|
indent=2,
|
||||||
ensure_ascii=False,
|
ensure_ascii=False,
|
||||||
) + '\n'
|
) + '\n'
|
||||||
|
|
Loading…
Reference in New Issue