Skip to content

Commit 7977594

Browse files
author
Jace Browning
committed
Trim trailing spaces from list items
1 parent c9fb7aa commit 7977594

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datafiles/formats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def serialize(cls, data):
105105
text = f.getvalue().strip() + '\n'
106106
else:
107107
text = yaml.round_trip_dump(data) or ""
108-
text = text.replace('- \n', '-\n')
108+
text = text.replace('- \n', '-\n')
109109
return "" if text == "{}\n" else text
110110

111111

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22

33
name = "datafiles"
4-
version = "0.9b4"
4+
version = "0.9b5"
55
description = "File-based ORM for dataclasses."
66

77
license = "MIT"

0 commit comments

Comments
 (0)