diff options
author | Stephen Finucane <stephen@that.guru> | 2019-09-30 19:20:42 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2019-10-05 15:31:28 +0100 |
commit | f51e71db33ddf07ccd0f628fd31f84c7eff83e3a (patch) | |
tree | dc676adc090a9e03f9e5492da88d664d7821b50d /docs | |
parent | c8b3651efa006052c0b66bd82d2c3e52ac584110 (diff) | |
download | patchwork-f51e71db33ddf07ccd0f628fd31f84c7eff83e3a.tar patchwork-f51e71db33ddf07ccd0f628fd31f84c7eff83e3a.tar.gz |
docs: Rename and make 'generate_schema' executable
A small Python 3 issue is resolved.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'docs')
-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__': |