summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--project.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/project.py b/project.py
index ad7d59ae..cb78ff72 100644
--- a/project.py
+++ b/project.py
@@ -62,7 +62,8 @@ RETRY_JITTER_PERCENT = 0.1
62def _lwrite(path, content): 62def _lwrite(path, content):
63 lock = '%s.lock' % path 63 lock = '%s.lock' % path
64 64
65 with open(lock, 'w') as fd: 65 # Maintain Unix line endings on all OS's to match git behavior.
66 with open(lock, 'w', newline='\n') as fd:
66 fd.write(content) 67 fd.write(content)
67 68
68 try: 69 try: