aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]docs/api/schemas/generate-schemas.py (renamed from docs/api/schemas/generate_schema.py)2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/schemas/generate_schema.py b/docs/api/schemas/generate-schemas.py
index d4645d1..09e6c44 100644..100755
--- a/docs/api/schemas/generate_schema.py
+++ b/docs/api/schemas/generate-schemas.py
@@ -30,7 +30,7 @@ def generate_schema():
with open(os.path.join(version_dir, 'patchwork.yaml'), 'wb') as fh:
template.stream(version=version, version_str=version_str,
version_url=version_url).dump(fh, encoding='utf-8')
- fh.write('\n')
+ fh.write(b'\n')
if __name__ == '__main__':