aboutsummaryrefslogtreecommitdiffstats
path: root/devscripts/update-version.py
diff options
context:
space:
mode:
Diffstat (limited to 'devscripts/update-version.py')
-rw-r--r--devscripts/update-version.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devscripts/update-version.py b/devscripts/update-version.py
index 0dc920b32..0ee7bf291 100644
--- a/devscripts/update-version.py
+++ b/devscripts/update-version.py
@@ -27,13 +27,13 @@ try:
except Exception:
GIT_HEAD = None
-VERSION_FILE = f'''
+VERSION_FILE = f'''\
# Autogenerated by devscripts/update-version.py
__version__ = {VERSION!r}
RELEASE_GIT_HEAD = {GIT_HEAD!r}
-'''.lstrip()
+'''
with open('yt_dlp/version.py', 'wt') as f:
f.write(VERSION_FILE)