Skip to content

Commit fe43e17

Browse files
committed
Releaser: use UNIX newlines even on windows
1 parent 0c78e04 commit fe43e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

releaser/releaser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def get_repo(path=None):
4242

4343

4444
def update_spec_file(spec_file, hexsha, version):
45-
with open(spec_file, "r+") as f:
45+
with open(spec_file, "r+", newline='\n') as f:
4646
content = f.readlines()
4747
f.seek(0)
4848
for line in content:

0 commit comments

Comments
 (0)